selenium-ide
selenium-ide copied to clipboard
Commands that destroy a frame that they exist in error
🐛 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)
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
@Kirinfm Can you please provide a reproducible test case (e.g., a Selenium IDE project file attached as a zip file)?
Project file reproducing this issue (highly encouraged)
this project reproducing Trying to find linkText=close... Failed: 10:13:11 frame no longer exists
This may not be a selenium ide bug, it only reproduce when I use the Quick UI Framework (a UI lib).
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?
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
Oh, my bad. I didn't see the HTML file in the zip. I'll take a look.
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.
Thanks
@Kirinfm did you ever find a work around in the current version of Selenium IDE?