SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
346 stars 194 forks source link

Selenium IDE breaks use of prompt() command in JavaScript #6853

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 6853

In Firefox 26.0 with the Selenium IDE Plugin 2.5.0 there is an interaction between the
plugin and the "prompt" command in JavaScript running in pages loaded in the browser
causing the prompt command not to prepopulate the text field with the specified value.

Steps to reproduce

   1. Open Firefox.
   2. Open the Selenium IDE window or side bar.
   3. Load a webpage that has executes the following JavaScript

         window.prompt("My Prompt", "prepopulated response");

When executed this code should display a prompt with the text "prepopulated response"
already populated in the text field. However it does not populate when Selenium IDE
is active. Executing the JavaScript with Selenium IDE closed works correctly.

Reported by mkbaldwin21 on 2014-01-16 14:27:20

lukeis commented 8 years ago

Reported by simon.m.stewart on 2014-01-19 21:39:18

lukeis commented 8 years ago

Reported by barancev on 2014-02-04 22:17:52

lukeis commented 8 years ago
I am also experiencing a similar issue.  My Web Page works until I run any command from
the Selenium IDE.  After a command is executed from the Selenium IDE, no Javascript
on the page will run until a page refresh occurs.

Reported by david.herpin on 2014-11-22 08:35:25

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:46:33