Thanks for the help with the previous, a bit longer problem @QHarr and @DebanjanB
This one is uncomplicated and comes from me being a total beginner.
I need to scrape the image location from this snippet from webauto.de + a click on the gallery
<li class="slide" style="">
<img class="image" src="https://www.webauto.de/img/vc/de/0/1/2/19482/pan/1735h_1" style="max-width: 640px; max-height: 480px; width: 100%; height: auto; left: 50%; top: 50%; margin-left: -320px; margin-top: -240px;" alt=""></li>
And either
find_elements_by_css_selector('.slide > img')
find_elements_by_css_selector('li > img')
find_elements_by_xpath("//li[@class='slide']/img]"
leaves me with a blank list instead of a list of addressess.
The second thing is I need to select a subgroup from a JS dropdown on hasznaltauto.hu
<select id="hirdetesszemelyautosearch-modell_id" class="form-control hidegroups" name="HirdetesSzemelyautoSearch[modell_id]" data-live-search="false" data-header="Modell" data-krajee-depdrop="depdrop_fdcef640" disabled="disabled">
<optgroup label="FIESTA">
<option value="540" class="opt">FIESTA (1001)</option></optgroup>
And I used a logical continuation of what was provided to me but but it throws 'tuple index out of range'
find_element_by_xpath("//select[@id='hirdetesszemelyautosearch-modell_id']/optgroup[@label='{}']/option[contains(text(), '{}')]".format('FIESTA')).click()