ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.03k stars 1.09k forks source link

[NoDriver] Element.send_keys() works unexpectedly #1870

Open RobertAzovski opened 1 month ago

RobertAzovski commented 1 month ago

Hello. I faced an issue using NoDriver.

When I try to find an element via .find('Username', best_match=True) it succeed just 25-50% times on same page. 'Username' is a text of label for the input field, but the input field itself has#email` CSS selector.

Even after I started using .select('#email') it is not successful 100% but like 75% times.

When I try to send_keys('123456789') it cuts of a part of a text.

So final input will get like 1234 text, not all.

geizzo commented 4 weeks ago

hello i have some issue any solution?

ultrafunkamsterdam commented 4 weeks ago

If it has #email , than there is only 1 of of it in the DOM, so you could use await tab.select('#email') What is the site..... ? Some sites have very nifty shit in place to make it hard as possible.

geizzo commented 2 weeks ago

I have the issue on bet365. I don't know if you know bet365, however in the step where you enter the amount to bet, I'll also show you the selector >>set_money = await page.select("body > div:nth-child(1) > div > div:nth -child(2) > div > div > div > div > div.bss-Footer > div.bss-Footer_DetailsContainer > div.bsf-StakeBox.bsf-StakeBox_MouseMode.bsf-StakeBox_Empty.bsf-StakeBox_Width410.bsf-StakeBox_Standard > div > div.bsf-StakeBox_StakeInput > div > div") It finds the element correctly and if I try to pass the amount with set_money.send_keys("3") on the screen I see it passing it, but it is as if it were a simple text and on the web side the button next to "place bet" is not activated " this is the website https://www.bet365.com image

below the screen where i insert manually the value image