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

[🚀 Feature]: headless switchesToNextTab #11413

Closed
JonstsnVilmus opened this issue Dec 12, 2022 · 2 comments
Closed

[🚀 Feature]: headless switchesToNextTab #11413

JonstsnVilmus opened this issue Dec 12, 2022 · 2 comments
Labels
I-question Applied to questions. Issues should be closed and send the user to community resources.

Comments

@JonstsnVilmus
Copy link

Feature and motivation

Как я могу перейти на другую вкладку в режиме headless, при использовании метода я получаю ошибку редаринга страницы
org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 25,000
(Session info: headless chrome=108.0.5359.71)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'eb9dea658d4d', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-65-generic', java.version: '11.0.17'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.71, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: /tmp/.com.google.Chrome.rxXd0F}, goog:chromeOptions: {debuggerAddress: localhost:36779}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), 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}
Session ID: 268f16eabce013f1a949162d35829351
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:609)
at org.openqa.selenium.remote.RemoteWebDriver.getCurrentUrl(RemoteWebDriver.java:287)
at ru.sbt.edu_power.e2e_core.step_defs.E2eCoreStepDefs.checkUrl(E2eCoreStepDefs.java:659)

Usage example

window(tabs.get(i + 1))

@diemol diemol added I-question Applied to questions. Issues should be closed and send the user to community resources. and removed I-enhancement needs-triaging labels Dec 12, 2022
@github-actions
Copy link

💬 Please ask questions at:

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I-question Applied to questions. Issues should be closed and send the user to community resources.
Projects
None yet
Development

No branches or pull requests

2 participants