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

[Question] Unable to load website on Webkit #2707

Closed
Sreejithw opened this issue Jun 25, 2020 · 5 comments
Closed

[Question] Unable to load website on Webkit #2707

Sreejithw opened this issue Jun 25, 2020 · 5 comments

Comments

@Sreejithw
Copy link

Sreejithw commented Jun 25, 2020

I am currently trying to run a test on my local machine VS Code to generate screenshots for webkit browser.
My Code is shown below:

Capture

The test is successful on any other site other than a sapui5 web application.

@mxschmitt
Copy link
Member

mxschmitt commented Jun 25, 2020

See my answer on StackOverflow already: https://stackoverflow.com/a/62552901/6512681

The issue is, that SAP UI5, the web framework where the website is based on, is not fast enough and not using the DOMContentLoaded events e.g. to signal that the web page has finished with loading and rendering.

@Sreejithw
Copy link
Author

I apologize haha, i was the one who posted the question. I actually wanted to follow up because i couldn't understand two things. If the SAPUI5 web application is too slow and not using the DOMContentLoaded events, then how is it possible that i can generate screenshots for webkit if i use playwright's testing playground online? Also, how come SAPUI5 applications can open with both chromium and firefox?

@mxschmitt
Copy link
Member

Hm, it seemed to be some temporary issue on their side. I retried a bit, locally and on Try Playwright. On both environments around 5 times and all of them were successfully.

@Sreejithw
Copy link
Author

Hmm that's interesting, it still seems to be not working for me locally. It might be my machine. Are you using windows by any chance??

@pavelfeldman
Copy link
Member

@Sreejithw could you follow a new bug template and specify your environment?

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

4 participants