How can I avoid bot detection?

parrier

Newbie
Joined
Dec 1, 2023
Messages
4
Reaction score
1
When I run Selenium "switch_to" in the Python program I run, the bot detects it and interferes with normal operation.
So I tried removing the property "Target" that opens a new window using JavaScript, but it didn't work either.
Currently, it only runs before switch_to, and after that, it works fine manually. What should I do?
 
"target" 속성을 제거하는 대신, target 속성을 "_self"로 설정하여 동일한 창/탭에서 링크를 여는 것을 고려해 보세요. 이 시도. 나는 그것이 효과가 있기를 바랍니다

Thanks for the advice. Instead of removing it as you said, I changed it to _self, but it was also detected and did not work properly.
 
Can you post the code that is causing a problem? And explain the situation a little more.
 
It sounds like you're encountering interference from a bot detection system when using Selenium's switch_to function in your Python program. Bot detection systems often employ various techniques to identify automated behavior, and Selenium usage is a common target due to its association with web scraping and automated testing.
 
Pretty hard to pinpoint the issue without getting a snippet of code, or knowledge on which platform is flagging you. In general it’s usually the (lack of) randomness of actions that flags bots. And obviously IPs/cookies need to be on point.
 
Almost everyone now can see selenium is tracking your browser.

Especially if you are using Chrome drive and a google product (say adsense)

Since it is pretty much verified now that Google utilizes Google Chrome data for their products.
 
Back
Top