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

Issue when clicking on link to open new / popup window #636

Closed
kensoh opened this issue Aug 1, 2017 · 2 comments
Closed

Issue when clicking on link to open new / popup window #636

kensoh opened this issue Aug 1, 2017 · 2 comments

Comments

@kensoh
Copy link

kensoh commented Aug 1, 2017

versions

  • SlimerJS: v0.10.3
  • Firefox: v54.0.1 (64-bit)
  • Operating system: macOS (10.12.6 (16G29))

Steps to reproduce the issue

Go to a web page (for example http://tebel.org/index_mobile.php)
Click on a link that opens up a new window (for eg Interface automation)

Actual results:

New window opens up but remains blank

Expected results:

New window opens up and loads normally

Additional details:

Hi Laurent and SlimerJS users, I'm raising this on behalf of @thim81 who is experiencing this issue. He is using a tool that I made that wraps around CasperJS. When we tried using PhantomJS or Chrome it works. But for Firefox through SlimerJS somehow we experience this unexpected behavior. I'm not sure if anyone else experiences this effect, I can't find related issues on this here so I'm raising it.

I've pasted below generated CasperJS code which the issue can be replicated. Works for PhantomJS/Chrome but not Firefox.

casper.start('http://tebel.org/index_mobile.php', function() {
techo('http://tebel.org/index_mobile.php' + ' - ' + this.getTitle() + '\n');});

casper.then(function() {
{this.echo('click Interface automation');
casper.waitFor(function check() {return x('//*[contains(text(),"Interface automation")]');},
function then() {this.click(x('//*[contains(text(),"Interface automation")]'));},
function timeout() {this.echo('ERROR - cannot find Interface automation').exit();});}});
@laurentj
Copy link
Owner

laurentj commented Oct 4, 2017

Hi. Thanks for your report. But this issue is already known. issue #607

@kensoh
Copy link
Author

kensoh commented Oct 4, 2017

Thanks Laurent, got it. And I'm sorry that I miss that issue.

(copying @thim81 , fyi it is a known issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants