Skype download page loads and breaks my tests.

55 views
Skip to first unread message

Victor Chirinian

unread,
Jan 21, 2016, 11:43:12 AM1/21/16
to webdriver

Hello Everyone,


 I recently upgraded the version of firefox I am using for my web-driver tests and have run into a snag. Every time my tests begin to run, and after the new Firefox driver is instantiated, the following page loads : https://support.skype.com/en/faq/FA34612/what-is-the-skype-extension, instead of the url I am handing the driver. I disabled the Skype extension for Firefox, but I still don't know why this page keeps on loading. Has this been happening to anyone else ? 

After browser opens.png

Anup

unread,
Jan 21, 2016, 10:30:37 PM1/21/16
to webdriver
Skype add-on installed on FF is responsible for the same issue. Uninstall Skype Click to Call(~7.2MB File) software from Control Panel.

Regards,
Anupam Patil 

Ram krishna

unread,
Jan 22, 2016, 8:28:08 AM1/22/16
to webdriver
Hi Chirinian,

Another way is you can create a fresh firefox profile from your script and pass the profile to your Webdriver Object.

That way you can use the fresh profile excluding the addons that is frustrating you...

Regards
Ramakrishna

Subrat Jyetki

unread,
Jan 29, 2016, 12:15:24 PM1/29/16
to webdriver
Please try this 

String originalHandle = driver.getWindowHandle();

    //Do something to open new tabs

    for(String handle : driver.getWindowHandles()) {
        if (!handle.equals(originalHandle)) {
            driver.switchTo().window(handle);
            driver.close();
        }
    }
 
    driver.switchTo().window(originalHandle); 
Reply all
Reply to author
Forward
0 new messages