omkarcloud / botasaurus

The All in One Framework to build Awesome Scrapers.
https://www.omkar.cloud/botasaurus/
MIT License
1.35k stars 123 forks source link

Not all elements are clicked #126

Open sdv75 opened 4 months ago

sdv75 commented 4 months ago

Selenium and the old version 4.0.14 click these elements without problems

Chetan11-dev commented 4 months ago

Code to reproduce?

sdv75 commented 4 months ago

Code to reproduce?

URL to create listing on Etsy Registration needed. code driver.get("https://www.etsy.com/your/shops/me/listing-editor/create") driver.get_element_with_exact_text(data['listing_type']).click() driver.get_element_with_exact_text(data['who_made_it']).click() driver.get_element_with_exact_text(data['what_is_it']).click() driver.click('select#when-made-select')

driver.click('select#when-made-select') doesn't click anything.

Chetan11-dev commented 4 months ago

Will look into it later, meanwhile you may use run_js

Chetan11-dev commented 4 months ago

Will look into it later, meanwhile you may use it in gitpod or google colab or in another PC?

sdv75 commented 4 months ago

Will look into it later, meanwhile you may use run_js

run_js and native js don't work with this CSS selector 'select#when-made-select'. Only Selenium works correctly