cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
soumyarani0317
Newcomer I

How to use a FID and Certificate to login with a url using Selenium Webdriver

So I have an app which uses Selenium Course to perform certain tests on the UI of an app using xpath but it needs to login before and I wanna use a certificate and FID for that app to authenticate prior to performing the tests I have added the internal certificate to a keystore but how can I use it to authenticate before opening the url with the webdriver

1 Reply
Michael_S26
Viewer II

tellthebell Wrote:

 

Please try this code.

alert(); //Selenium-WebDriver Java Code for entering Username & Password as below: driver. findElement(By.id("userID")). sendKeys("userName"); driver. findElement(By.id("password")).