Troubleshooting
Selenium related
Extensions with Firefox browser
It is recommended that the Firefox used by Twist be free of any external extensions(like Skype, Pop-up blocker and so on) as the plugins tend to interfere with Twist's recording and playback.
Recording and Playback with Firefox
While launching Firefox for both recording and playback, Twist looks for Firefox in the respective location as shown below:
| Operating System | Firefox's location |
|---|---|
| Windows | "C:/Program Files/Mozilla Firefox/firefox.exe" |
| Linux | "/usr/lib/firefox/firefox-bin" or "firefox-bin" in LD_LIBRARY_PATH |
| Macintosh | "/Applications/Firefox.app/Contents/MacOS/firefox-bin" or "firefox-bin" in DYLD_LIBRARY_PATH |
If firefox.exe (on Windows) or firefox-bin (on Linux,Mac) is not installed at the
above mentioned location, then you can specify the location of Firefox by setting the
system variable "firefoxDefaultPath" in the selenium.server.options of twist.properties
An example usage may be like
selenium.server.options = -port 4545 -DfirefoxDefaultPath="C:/MyPrograms/Mozilla Firefox/"
Playback with Internet Explorer 7 and above
Internet Explorer versions 7 and above always bypass the proxy when connecting to localhost which in turn, stops Selenium from functioning properly. This can be overcome by using either the machine name or IP address in place of localhost.