My dilemma lies in the fact that I need to modify the image source using selenium, but it lacks an id or class.
<div id="mbr-content">
<div class="nope" some random stuff>
<script>
</script>
<div class="mbr-image-container">
<div class="mbr-image-wrapper">
<div class="mbr-image">
<img src="this source need to modify" alt="app_image">
</div>
</div>
</div>
#Html continues here
For some reason, this is eluding me.
I am aware that I need to utilize this command, but I'm uncertain about what to insert as a script.
driver.execute_script("something here")
Working with python-3.7