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

JCefBrowserFixture #502

Open
HutorovaMN opened this issue Feb 25, 2025 · 1 comment
Open

JCefBrowserFixture #502

HutorovaMN opened this issue Feb 25, 2025 · 1 comment

Comments

@HutorovaMN
Copy link

Привет! Пытаюсь
JCefBrowserFixture jcefFixture = remoteRobot.find(JCefBrowserFixture.class
, JCefBrowserFixture.getMacLocator(), Duration.ofSeconds(10));
String s = jcefFixture.getDom();
И что то никак не перенаправляет на браузер(

@HutorovaMN
Copy link
Author

При таком запросе
@language("XPath") String xpathToFind = "//div[@Class='MenuIcon_menu_nHwqX']";
System.out.println(jcefFixture.findElement(xpathToFind, Duration.ofSeconds(50)));
В debug выводит findElements: by '//div[@Class='MenuIcon_menu_nHwqX']'
url=main:1 found 1
url=main:1 Uncaught TypeError: window.cefQuery_1383042106_27 is not a function
at url=main:1:8
Но в автотестах элемент не найден

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

1 participant