Comments (3)
good find!
I've got a patch implemented locally which also fixes the need for that first page. that means you can skip the data:,
url alltogether, and use chrome.get(url) on the newly opened (and switched_to) tab. Will merge it tomorrow.
In [1]: import undetected_chromedriver as uc
In [2]: chrome = uc.Chrome()
Selenium patched. Safe to import Chrome / ChromeOptions
Selenium patched. Safe to import Chrome / ChromeOptions
DevTools listening on ws://127.0.0.1:12188/devtools/browser/2405e496-6c7f-4caa-ae40-9e4daa0fddd3
In [3]: chrome.execute_script('return navigator.webdriver')
Out[3]: True
In [4]: chrome.get('https://www.example.com')
In [5]: chrome.execute_script('return navigator.webdriver')
In [6]: chrome.execute_script('window.open();')
In [7]: chrome.switch_to.window(chrome.window_handles[-1])
In [8]: chrome.execute_script('return navigator.webdriver')
Out[8]: True
In [9]: chrome.execute_script('return navigator.webdriver')
Out[9]: True
In [10]: chrome.get('https://www.example.com')
In [11]: chrome.execute_script('return navigator.webdriver')
In[12]:
from undetected-chromedriver.
Ok thanks. I´m looking forward to that fix. ;)
from undetected-chromedriver.
fixed
from undetected-chromedriver.
Related Issues (20)
- NoDriver: how to get response body HOT 5
- Delete me HOT 1
- NoDriver: iframe usage HOT 29
- How do I take over an already open browser when I already know the port number HOT 2
- Chromedriver detected HOT 1
- selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:49929 from session not created: This version of ChromeDriver only supports Chrome version 123 Current browser version is 122.0.6261.129 HOT 4
- Nodriver: memory leak on Chromium 122.0.6261.128 HOT 7
- How to connect to a local chrome already opend?
- [Nodriver] Features
- Readme file contains releases descriptions
- with chrome update v123, script did not pass
- New version problems
- can not login google account HOT 1
- Not passing turnstile HOT 1
- nodriver bug with browser.cookies.set_all(..) HOT 2
- Nodriver: await browser.cookies.load() doesn't work HOT 7
- NoDriver: Page.addScriptToEvaluateOnNewDocument not working
- Detected on fingerprint.com HOT 11
- Still being detected on fingerprint.com
- Error 1015 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from undetected-chromedriver.