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

JavaScript process error #322

Open
topicfun opened this issue Mar 21, 2018 · 0 comments
Open

JavaScript process error #322

topicfun opened this issue Mar 21, 2018 · 0 comments

Comments

@topicfun
Copy link

The source retrieved from JBrowserDriver seems different from the source in the browser.

Retrieve the same days (26) more than once but missing the others days of the month...
Tried with InternetExplorerDriver and it's OK.

Code to reproduce:

JBrowserDriver driver = new JBrowserDriver(Settings.builder()
                .logJavascript(true)
                .userAgent(UserAgent.CHROME)
                .ssl("compatible")
                .logTrace(true)
                .javascript(true)
                .ajaxResourceTimeout(20000)
                .ajaxWait(20000)
                .build());
        String START_URL = "https://wizzair.com/hu-hu/jaratok/menetrend/budapest/ibiza#/1/0/1/0/0/2018-06/2018-06";
        driver.get(START_URL);
        log.debug("page: {}", driver.getPageSource());

Need some additional settings?

Thx!

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