Unable to invoke Chrome and other browsers dynamically by giving the values in settings

29 Views Asked by At

I was unable to access the Chrome driver, and when I executed the below code, it failed. However even with the Chrome browser, I observed that it opens with an empty Firefox driver. Could anyone please help me ?

*** Settings ***
Documentation    to validate the login form
Library    SeleniumLibrary
#Resources

*** Test Cases ***
Validate unsuccessful Login
   Open Browser    with the Mortgage payment url
   #Fill the Login form
   #Wait Until it checks and display the error message
   #verify error message is correct

*** Keywords ***
open the browser with the Mortgage payment url


    open the browser with the Mortgage payment url
    Create Webdriver     Chrome     executable_path=C:\Users\lenovo\PycharmProjects\pythonProject8\test\resources\chromedriver.exe
    Go To   https://rahulshettyacademy.com/loginpagePractise/

enter image description here

I want to access the given url from the robot framework.

0

There are 0 best solutions below