Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings doesn't apply on all tabs (but only on the first one) #31

Open
fabifont opened this issue Apr 15, 2022 · 12 comments
Open

Settings doesn't apply on all tabs (but only on the first one) #31

fabifont opened this issue Apr 15, 2022 · 12 comments

Comments

@fabifont
Copy link

Selenium stealth overrides only the settings of the first tab.

First tab:
image

Second tab:
image

Is there a way to override the driver settings globally?

@adventurebeast
Copy link

I am having this issue as well. In fact. It seems the settings work on the first page load and do not work after that.

@fabifont
Copy link
Author

@adventurebeast Seems like this project is abandoned

@adventurebeast
Copy link

@fabifont any suggestions on better projects that are current?

@fabifont
Copy link
Author

@adventurebeast I don't know actually. But you can ""fix"" that problem by applying stealth to every tab you open.

@adventurebeast
Copy link

@fabifont thank you! I am new to this. I tried entering the bot.sannysoft.com in the same tab as the driver launched and it failed as well. Oh well. It seems to be working on first launch.

@adventurebeast
Copy link

Do you have the syntax for applying stealth to every tab that I open?

@SmartManoj
Copy link

@fabifont any suggestions on better projects that are current?

https://stackoverflow.com/a/68745328

@adventurebeast
Copy link

Thanks @SmartManoj. I tried this repo and UC seemed to work similarly. The second tabs on my browser are detected. The first tabs seem to be fine however.

Would still like to find a solution for Selenium Stealth as it performs much faster than UC.

@BukuBukuChagma
Copy link

@adventurebeast did you find a solution?

@adventurebeast
Copy link

@BukuBukuChagma I am using Undetected Chromedriver. Seems to work better than selenium stealth for real world applications. It doesnt pass this test either, but it does work better.

@BukuBukuChagma
Copy link

@adventurebeast ah. I tried that too and it surely works but for my use case I'm also using proxies that require authentication. So, I'm using selenium-wire for that. With undetected-chromedriver I'm not sure how to get the proxies to work. I tried some extension solutions like the one given in top answer in this thread : stackoverflow but this works with orignal webdriver but doesn't seem to work with undetected-chromedriver
Ah not really sure what to do lol

@adventurebeast
Copy link

@BukuBukuChagma Yes I have had the same issues with proxies :/ seems like you are doing what I would do too from the research I have done. I have not tried selenium-wire, but that seems to be the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants