0
package com.Pack;

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

public class TextBoxDemo {
    //Launch the browser
    //enter valid url
    //enter data in to text box

    public static void main(String[] args)
    {
        // System.setProperty("webdriver.c  rome.driver",
        //  "/Users/adeshpansuriya/Downloads/chromedriver");
        WebDriver driver = new FirefoxDriver();
    }   
}
4
  • there is problem with jar Commented Feb 11, 2020 at 3:05
  • I can not add external jar file while same program works in other mac Commented Feb 11, 2020 at 3:06
  • Show more info, and what have you tried before. Commented Feb 11, 2020 at 3:31
  • Setting system properties like that is a bad idea. You may end up setting the property after it has been read; e.g. if it is consulted during class initialization. Try setting the property with a -D command line option. If that doesn't help, update your question with a minimal reproducible example, including the command line you are using to run the example. Commented Feb 11, 2020 at 6:45

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.