Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (29.3k points)
edited by

These are errors I am facing while I am trying to export and run on aws instance. So please help me out with issue. Where should exactly keep that main method in the code. It is running fine before adding main method with testNG but for runnable jar I need to run with java and then it is giving errors.

1 Answer

0 votes
by (50.2k points)

You need to define the main method as shown below:

For more information, kindly check out this selenium tutorial

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...