ProtocolHandshake createSession

215 views
Skip to first unread message

Luis Ruiz

unread,
Oct 30, 2017, 2:34:06 AM10/30/17
to Selenium Users
Hello All

 I have a issue where I try run login on  automation test: 

eclipse
selenium 3.6.0 jar
chromedriver  2.33

------------
public class login {

public static void main(String[] args) {
String exePath = "C:\\selenium\\drivers\\chromedriver.exe";
System.setProperty("webdriver.chrome.driver", exePath);
WebDriver driver = new ChromeDriver();
//  Wait For Page To Load
// Put a Implicit wait, this means that any search for elements on the page
//could take the time the implicit wait is set for before throwing exception 
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
// Navigate to URL
// Maximize the window.
driver.manage().window().maximize();
System.out.println(driver.switchTo().frame(driver.findElement(By.tagName("iframe"))));
// Enter UserName
driver.findElement(By.name("usernamePartner")).sendKeys("pekositas");
// Enter Password
driver.findElement(By.name("passwordPartner")).sendKeys("password");
// Wait For Page To Load
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
// Click on 'Sign In' button
driver.findElement(By.tagName("form")).submit();
driver.close();
}

}

-----------------
Starting ChromeDriver 2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a) on port 26619
Only local connections are allowed.
oct 30, 2017 1:16:10 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFORMACIÓN: Detected dialect: OSS
ChromeDriver: chrome on XP (9074e8dcf9c9b0beeb5725074872f783)


could you helpme 

Simon Stewart

unread,
Oct 30, 2017, 6:53:54 AM10/30/17
to seleniu...@googlegroups.com
I'm not sure what problem you're encountering is. Could you please describe what error you're seeing, and what you expect?

Simon

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e210c25a-ea74-4b9f-8eec-de0ad31b1926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

samatha reddy

unread,
Nov 6, 2017, 9:25:11 AM11/6/17
to Selenium Users
Hi This is samatha.
@Luis Ruiz, @Simon Stewart can you reply for this issue. even am facing this now
Crome browser is launched but does not open the URL of my Page to start running tests.
COnsole shows
Starting ChromeDriver 2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f) on port 27126 Only local connections are allowed. Nov 06, 2017 1:02:31 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS " it launches browser but does not open url

Simon Stewart

unread,
Nov 11, 2017, 2:45:35 PM11/11/17
to seleniu...@googlegroups.com
In your test, there doesn't seem to be a call to "driver.get()" I'm not sure how you're expecting it to navigate to a web page. One thing that might be tripping you up is that the ChromeDriver will create a brand new, clean profile every time you call the constructor. This doesn't have a home page set, so will just open a blank page.

Simon

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.

Rahul Gupta

unread,
Nov 16, 2017, 4:49:18 AM11/16/17
to Selenium Users
Hello Simon,

I have faced a problem on time out issue if i have run my selenium code some where i have found on such element exception whether the element is present on web page.

Please suggest what i can do for this..
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.

Rahul Gupta

unread,
Nov 16, 2017, 7:26:44 AM11/16/17
to Selenium Users
Please response if any one has a solution.

advanceau...@gmail.com

unread,
Nov 20, 2017, 1:43:02 PM11/20/17
to Selenium Users
Rahul

Your question is confusing. Can you re-phrase with more details ?
Reply all
Reply to author
Forward
0 new messages