Using the title of the post in a shortcode

You’re trying to execute PHP inside a string! Instead, concat the string;

<?php echo do_shortcode( '[screenshot url="' . get_the_title() . '"]' ); ?>