Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Selenium Beginner Tutorial 14 - How to use PhantomJS (Headless Browser)
Play lesson

Selenium Beginner Tutorial - Selenium Beginner Tutorial 14 - How to use PhantomJS (Headless Browser)

5.0 (4)
29 learners

What you'll learn

This course includes

  • 3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Note: PhantomJS may not be stable now Recommended - How Selenium interacts with PhantomJS https://youtu.be/IqWTvGHgJ5M Today we will learn : ------------------------------- 1. How to download PhantomJS 2. How to add in selenium project 3. How to run selenium test on PhantomJS How to download PhantomJS Step 1 Download phantomJS for your OS http://phantomjs.org/download.html Step 2 (optional) Download PhantomJS Driver Not Required with latest PhantomJS https://mvnrepository.com/artifact/com.codeborne/phantomjsdriver/1.4.1 (The latest release of PhatomJS has Ghost Driver integrated and there is no need to install it separately.) ----------------------------------------------------------------------------------------------- How to run Selenium Test on PhantomJS Step 1 Set system property - phantomjs.binary.path System.setProperty("phantomjs.binary.path", "location of phantomjs exe"); Step 2 Create object for PhantomJSDriver class WebDriver driver = new PhantomJSDriver(); Step 3 Create and Run the Test ________ ONLINE COURSES TO LEARN ________ Visit - https://automationstepbystep.com/ Ask Raghav- https://bit.ly/2CoJGWf Interviews - https://bit.ly/2NIPPxk All Playlists - https://bit.ly/2LSiezA ------------ Follow ------------ Facebook - https://www.facebook.com/automationstepbystep Twitter - https://twitter.com/automationsbs Youtube - http://youtube.com/automationstepbystep Like, Subscribe, Share You can support my mission for education by sharing this knowledge and helping as many people as you can

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere