Sype opens up in new tab when i run selenium with mozilla37 | Selenium Forum
M
Posted on 03/08/2016
Sype opens up in new tab when i run selenium 2.53 with mozilla37

ERROR: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:


package com.sellenium.labs;

import java.util.List;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;

public class Gmail_tet {

public static void main(String[] args) {
DesiredCapabilities ded1= new DesiredCapabilities();
ded1.setCapability(CapabilityType.BROWSER_NAME, "Mozilla");
ded1.setCapability(CapabilityType.SUPPORTS_JAVASCRIPT, true);

WebDriver webe=new FirefoxDriver(ded1);
String str1="https:\\www.bbc.com" ;
webe.get(str1);;
webe.manage().window().maximize();
webe.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);


//webe.findElement(By.xpath("//div[@id ='orb-nav-links']/h2/u1/li(3)/a")).click();

List<WebElement> alllinks=webe.findElements(By.tagName("a"));
System.out.println(alllinks.size());

WebElement w=alllinks.get(4);
System.out.println(w.getText());

for (int i=0;i<alllinks.size();i++){

System.out.println(alllinks.get(i).getText());

}
}







}

M
Replied on 03/08/2016

download the latest selenium and firefox 42


M
Replied on 03/08/2016

Let me try it


M
Replied on 08/08/2016

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class Register_Automation {

public static void main(String args[]){
WebDriver driver;
System.setProperty("webdriver.gecko.driver", "D:\\SELENIUM_2\\geckodriver-v0.10.0-arm7hf\\geckodriver");
driver =new FirefoxDriver();
WebDriver wbdriver;
String appUrl ="http://automationpractice.com/";
//wbdriver = new FirefoxDriver();
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
driver.get(appUrl);
}}

its not opening up firefox nether i m getting any error

its been 21 days i trying to config..gosh
Its not opening anything


I m using latest version of seleenium, firefox 42


M
Replied on 08/08/2016

Please give me whtever works best and is in working condition..i cant keep on checking videos..


M
Replied on 08/08/2016

can you come on skype?