You’re trying to execute PHP inside a string! Instead, concat the string;
<?php echo do_shortcode( '[screenshot url="' . get_the_title() . '"]' ); ?>
You’re trying to execute PHP inside a string! Instead, concat the string;
<?php echo do_shortcode( '[screenshot url="' . get_the_title() . '"]' ); ?>