You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The session is created, chrome opened and closed instantly.
And finaly an exception is thrown during the execution of WEBDRIVERXX_FUNCTION_CONTEXT_END() on client.inl.
Here is my code :
Capabilities common; common.SetPlatform(platform::Windows); Chrome ch(common); ChromeOptions options; options.SetArgs({ "start-maximized", "user-data-dir=H:/Programmation/chrome"}); // optional ch.SetChromeOptions(options); WebDriver browser = Start(ch); browser.Navigate("https://duckduckgo.org"); Element elem = browser.FindElement(ByCss("input[name=q]")); elem.SendKeys("sha512 helloworld"); elem.Submit(); getchar(); return 0;
It do not go further than WebDriver browser = Start(ch);
And here is the log on selenium :
C:\Users\Flordjam\Downloads>java -jar selenium-server-4.8.1.jar standalone
16:30:10.654 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
16:30:10.658 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
16:30:11.445 INFO [NodeOptions.getSessionFactories] - Detected 12 available processors
16:30:13.025 INFO [NodeOptions.discoverDrivers] - Discovered 4 driver(s)
16:30:13.040 INFO [NodeOptions.report] - Adding Chrome for {"browserName": "chrome"} 12 times
16:30:13.041 INFO [NodeOptions.report] - Adding Internet Explorer for {"browserName": "internet explorer"} 1 times
16:30:13.041 INFO [NodeOptions.report] - Adding Firefox for {"browserName": "firefox"} 12 times
16:30:13.042 INFO [NodeOptions.report] - Adding Edge for {"browserName": "MicrosoftEdge"} 12 times
16:30:13.072 INFO [Node.] - Binding additional locator mechanisms: relative
16:30:13.085 INFO [GridModel.setAvailability] - Switching Node 1ad5efdb-48fa-45c5-8579-75d63675210d (uri: http://172.31.128.1:4444) from DOWN to UP
16:30:13.085 INFO [LocalDistributor.add] - Added node 1ad5efdb-48fa-45c5-8579-75d63675210d at http://172.31.128.1:4444. Health check every 120s
16:30:13.306 INFO [Standalone.execute] - Started Selenium Standalone 4.8.1 (revision 8ebccac989): http://172.31.128.1:4444
16:30:22.442 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [start-maximized, user-data-dir=H:/Programmation]}, platformName: ANY}]
Starting ChromeDriver 110.0.5481.77 (65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}) on port 25030
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1678116623.276][WARNING]: virtual void DevToolsClientImpl::AddListener(DevToolsEventListener *) subscribing a listener to the already connected DevToolsClient. Connection notification will not arrive.
16:30:23.329 INFO [LocalNode.newSession] - Session created by the Node. Id: a22f5918210704c176298e010e068110, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 110.0.5481.178, chrome: {chromedriverVersion: 110.0.5481.77 (65ed616c6e8e..., userDataDir: H:/Programmation}, goog:chromeOptions: {debuggerAddress: localhost:63740}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: ANY, proxy: Proxy(), se:cdp: http://localhost:63740, se:cdpVersion: 110.0.5481.178, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
16:30:23.339 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: a22f5918210704c176298e010e068110
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 110.0.5481.178, chrome: {chromedriverVersion: 110.0.5481.77 (65ed616c6e8e..., userDataDir: H:/Programmation}, goog:chromeOptions: {debuggerAddress: localhost:63740}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: ANY, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.31.128.1:4444/sess..., se:cdpVersion: 110.0.5481.178, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
16:30:23.360 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "da3e670f365c16447e684450a7a36211","eventTime": 1678116623359532301,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "localhost:4444","http.method": "GET","http.scheme": "HTTP","http.status_code": 404,"http.target": "\u002fsession\u002fa22f5918210704c176298e010e068110"}}
16:30:24.806 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: a22f5918210704c176298e010e068110
16:30:24.807 INFO [GridModel.release] - Releasing slot for session id a22f5918210704c176298e010e068110
16:30:24.809 INFO [SessionSlot.stop] - Stopping session a22f5918210704c176298e010e068110
I'am using visual studio code 2022 on windows 10. ChromDriver and chrome version 110. selenium-server-4.8.1.jar.
I spend a lot of time trying to understand the problem without result. If you can help me please ?
The text was updated successfully, but these errors were encountered:
Hi evrybody,
An exception is thrown during a start for chrome.
The session is created, chrome opened and closed instantly.
And finaly an exception is thrown during the execution of WEBDRIVERXX_FUNCTION_CONTEXT_END() on client.inl.
Here is my code :
Capabilities common;
common.SetPlatform(platform::Windows);
Chrome ch(common);
ChromeOptions options;
options.SetArgs({ "start-maximized", "user-data-dir=H:/Programmation/chrome"}); // optional
ch.SetChromeOptions(options);
WebDriver browser = Start(ch);
browser.Navigate("https://duckduckgo.org");
Element elem = browser.FindElement(ByCss("input[name=q]"));
elem.SendKeys("sha512 helloworld");
elem.Submit();
getchar();
return 0;
It do not go further than
WebDriver browser = Start(ch);
And here is the log on selenium :
C:\Users\Flordjam\Downloads>java -jar selenium-server-4.8.1.jar standalone
16:30:10.654 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
16:30:10.658 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
16:30:11.445 INFO [NodeOptions.getSessionFactories] - Detected 12 available processors
16:30:13.025 INFO [NodeOptions.discoverDrivers] - Discovered 4 driver(s)
16:30:13.040 INFO [NodeOptions.report] - Adding Chrome for {"browserName": "chrome"} 12 times
16:30:13.041 INFO [NodeOptions.report] - Adding Internet Explorer for {"browserName": "internet explorer"} 1 times
16:30:13.041 INFO [NodeOptions.report] - Adding Firefox for {"browserName": "firefox"} 12 times
16:30:13.042 INFO [NodeOptions.report] - Adding Edge for {"browserName": "MicrosoftEdge"} 12 times
16:30:13.072 INFO [Node.] - Binding additional locator mechanisms: relative
16:30:13.085 INFO [GridModel.setAvailability] - Switching Node 1ad5efdb-48fa-45c5-8579-75d63675210d (uri: http://172.31.128.1:4444) from DOWN to UP
16:30:13.085 INFO [LocalDistributor.add] - Added node 1ad5efdb-48fa-45c5-8579-75d63675210d at http://172.31.128.1:4444. Health check every 120s
16:30:13.306 INFO [Standalone.execute] - Started Selenium Standalone 4.8.1 (revision 8ebccac989): http://172.31.128.1:4444
16:30:22.442 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [start-maximized, user-data-dir=H:/Programmation]}, platformName: ANY}]
Starting ChromeDriver 110.0.5481.77 (65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}) on port 25030
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1678116623.276][WARNING]: virtual void DevToolsClientImpl::AddListener(DevToolsEventListener *) subscribing a listener to the already connected DevToolsClient. Connection notification will not arrive.
16:30:23.329 INFO [LocalNode.newSession] - Session created by the Node. Id: a22f5918210704c176298e010e068110, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 110.0.5481.178, chrome: {chromedriverVersion: 110.0.5481.77 (65ed616c6e8e..., userDataDir: H:/Programmation}, goog:chromeOptions: {debuggerAddress: localhost:63740}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: ANY, proxy: Proxy(), se:cdp: http://localhost:63740, se:cdpVersion: 110.0.5481.178, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
16:30:23.339 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: a22f5918210704c176298e010e068110
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 110.0.5481.178, chrome: {chromedriverVersion: 110.0.5481.77 (65ed616c6e8e..., userDataDir: H:/Programmation}, goog:chromeOptions: {debuggerAddress: localhost:63740}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: ANY, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.31.128.1:4444/sess..., se:cdpVersion: 110.0.5481.178, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
16:30:23.360 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "da3e670f365c16447e684450a7a36211","eventTime": 1678116623359532301,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "localhost:4444","http.method": "GET","http.scheme": "HTTP","http.status_code": 404,"http.target": "\u002fsession\u002fa22f5918210704c176298e010e068110"}}
16:30:24.806 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: a22f5918210704c176298e010e068110
16:30:24.807 INFO [GridModel.release] - Releasing slot for session id a22f5918210704c176298e010e068110
16:30:24.809 INFO [SessionSlot.stop] - Stopping session a22f5918210704c176298e010e068110
I'am using visual studio code 2022 on windows 10. ChromDriver and chrome version 110. selenium-server-4.8.1.jar.
I spend a lot of time trying to understand the problem without result. If you can help me please ?
The text was updated successfully, but these errors were encountered: