I have a Website were I want to click a button, but I can’t find in the button in the HTML script, what I have to write in my Python script?
Later I want to have something like
driver.find_element_by_css_selector()
Now I don’t know what I have to put in there
<div class=”custom-col” onclick=”Ajax(‘routes.php’,’main’);mainMenuLoad(‘mainMenuRoutes’);” style=”width: 20%;”>
<img src=”assets/img/icons/route-icon-shade.png” class=”btn-action” id=”mainMenuRoutes” style=”height:40px;”>
</div>
I hope you understood my question because I am not a native speaker
Source: Read More