-
Notifications
You must be signed in to change notification settings - Fork 89
IE browser automation
jvishwanath edited this page Sep 11, 2012
·
4 revisions
IE browser automation
- Get the IEDriver Server from http://code.google.com/p/chromedriver/downloads/list. Look for files named IEDriverServer_Win32_XXXX.zip and IEDriverServer_x64_XXXX.zip & , where XXXX is the version number.
- Download & use IEDriverServer_Win32_XXXX.zip to driver 32-bit Internet explorer
- Download & use IEDriverServer_x64_XXXX.zip to driver 64-bit Internet explorer
- Extract proper (32-bit or 64-bit) IEDriverServer.exe in to the directory where your selenium-server-standalone jar file is.
- cd to that directory in command line & type:
java -Dwebdriver.ie.driver="IEDriverServer.exe" -jar selenium-server-standalone-XXXX.jar
- In your script, pass 'browser_name' as 'internet explorer' for desired capabilities. for e.g.
my $driver = new Selenium::Remote::Driver('browser_name' => 'internet explorer');