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

Opening a blank page. #914

Closed
tamasmartin opened this issue Feb 20, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@tamasmartin
Copy link

commented Feb 20, 2019

Question

I have just started using Selenide. I have a question: is it possible to open a blank page in Selenide with the open(String url) method?
Thanks.

@asolntsev

This comment has been minimized.

Copy link
Contributor

commented Feb 20, 2019

@tamasmartin

This comment has been minimized.

Copy link
Author

commented Feb 20, 2019

Thank you for your answer, that does not work, I tried that first. I need it in the before method to avoid some errors. When the previous test case ends up on a page with a specific URL, the next step will not reload the page if the URL is the same. So I tried to load a blank page in the before step.
What I could do is creating an own WebDriver instance and pass it to Selenide. The simple open() way would have been more convenient.

@vinogradoff

This comment has been minimized.

Copy link
Member

commented Feb 20, 2019

@asolntsev

This comment has been minimized.

Copy link
Contributor

commented Feb 21, 2019

@symonk symonk referenced this issue Mar 20, 2019

Merged

Add support for `open("about:blank")` #915

3 of 3 tasks complete

@asolntsev asolntsev added this to the 5.2.3 milestone May 4, 2019

@asolntsev asolntsev self-assigned this May 4, 2019

@asolntsev

This comment has been minimized.

Copy link
Contributor

commented May 4, 2019

fixed in Selenide 5.2.3

@asolntsev asolntsev closed this May 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.