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

Commands that destroy a frame that they exist in error #726

Open
Kirinfm opened this issue Jun 20, 2019 · 10 comments
Open

Commands that destroy a frame that they exist in error #726

Kirinfm opened this issue Jun 20, 2019 · 10 comments
Labels
blocked by issue blocked due to another issue in the project blocked native confirmed

Comments

@Kirinfm
Copy link

Kirinfm commented Jun 20, 2019

🐛 Bug Report

Command sendKeys | linkText=close | ${KEY_ENTER} does not work in Chrome. But its work in Firefox.

To Reproduce

click <a href="javascript:void(0)">close</a>

Step:
send keys | linkText=close | ${KEY_ENTER}

ErrMsg in Chrome : sendKeys on linkText=close with value ${KEY_ENTER} Failed: 09:51:24 This locator type is unavailable with this command

But in Firefox : sendKeys on linkText=close with value ${KEY_ENTER} OK

Expected behavior

sendKeys on linkText=close with value ${KEY_ENTER} OK

Environment

OS: Windows 10
Selenium IDE Version: 3.9.0

Browser: Chrome
Browser Version: 75.0.3770.90(64 bit)

Browser: Firefox
Browser Version: 67.0.3 (64 bit)

@Kirinfm
Copy link
Author

Kirinfm commented Jun 20, 2019

Command click a link with href=javascript:void(0) does not work

ErrMsg : Trying to find linkText=close... Failed: 10:13:11 frame no longer exists

@tourdedave
Copy link

@Kirinfm Can you please provide a reproducible test case (e.g., a Selenium IDE project file attached as a zip file)?

@tourdedave tourdedave added the reproducer required issue has inadequate steps to reproduce said bug label Jun 20, 2019
@Kirinfm
Copy link
Author

Kirinfm commented Jun 20, 2019

Project file reproducing this issue (highly encouraged)

linkTest.zip

this project reproducing Trying to find linkText=close... Failed: 10:13:11 frame no longer exists

@Kirinfm
Copy link
Author

Kirinfm commented Jun 20, 2019

This may not be a selenium ide bug, it only reproduce when I use the Quick UI Framework (a UI lib).

@tourdedave
Copy link

The project file you provided points to localhost. Do you have a public site that demonstrates the issue? Or can you attach an HTML file?

@Kirinfm
Copy link
Author

Kirinfm commented Jun 24, 2019

The project file you provided points to localhost. Do you have a public site that demonstrates the issue? Or can you attach an HTML file?

You can put static folder on Nginx Server. the HTML file under the static folder

@tourdedave
Copy link

Oh, my bad. I didn't see the HTML file in the zip. I'll take a look.

@tourdedave tourdedave added confirmed and removed reproducer required issue has inadequate steps to reproduce said bug labels Jun 24, 2019
@tourdedave tourdedave changed the title Command sendKeys | linkText=close | ${KEY_ENTER} does not work in Chrome Commands that destroy a frame that they exist in error Jun 24, 2019
@tourdedave tourdedave added blocked native blocked by issue blocked due to another issue in the project labels Jun 24, 2019
@tourdedave
Copy link

This will be resolved when we move Selenium IDE playback to WebDriver (timeline TBD).

We are adding try/catch commands soon, which will provide workaround for this issue. You can track its progress in #718.

@Kirinfm
Copy link
Author

Kirinfm commented Jun 25, 2019

Thanks

@stale stale bot added the stale label Sep 2, 2019
@corevo corevo removed the stale label Sep 2, 2019
@SeleniumHQ SeleniumHQ deleted a comment from stale bot Sep 2, 2019
@pacal
Copy link

pacal commented Jul 20, 2022

@Kirinfm did you ever find a work around in the current version of Selenium IDE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked by issue blocked due to another issue in the project blocked native confirmed
Projects
None yet
Development

No branches or pull requests

4 participants