# PhantomJS' is not a valid WebDriver name using in robot framework

**URL:** <https://forum.robotframework.org/t/phantomjs-is-not-a-valid-webdriver-name-using-in-robot-framework/3891>\
**Category:** Robot Framework\
**Created:** [26 May 2022 07:35 UTC](https://forum.robotframework.org/t/phantomjs-is-not-a-valid-webdriver-name-using-in-robot-framework/3891 "2022-05-26T07:35:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bk-user](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/bk-user/32/1446_2.png) [@bk-user](https://forum.robotframework.org/u/bk-user)\
**Post date:** [26 May 2022 07:35 UTC](https://forum.robotframework.org/t/phantomjs-is-not-a-valid-webdriver-name-using-in-robot-framework/3891/1 "2022-05-26T07:35:12Z")

</div>

I have installed -  
pip install PhantomJS

Below is my code -  
Create Webdriver PhantomJS  
Go To ${base\_url}

Note -  
I am trying to run my robot script on PhantomJS browser. As I am facing issue to run chrome headless on linux/ubuntu vai docker. As my website uses certificate which is not working in headless mode.

I have created .reg file to autoselectcertificate for url which is working fine on windows GUI. I have to run same script on linux/ubuntu.

---

<div class="post-metadata">

**Author:** ![EdManlove](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/edmanlove/32/1002_2.png) [@EdManlove](https://forum.robotframework.org/u/EdManlove)\
**Post date:** [26 May 2022 11:05 UTC](https://forum.robotframework.org/t/phantomjs-is-not-a-valid-webdriver-name-using-in-robot-framework/3891/2 "2022-05-26T11:05:35Z")

</div>

I’d suggest focusing on resolving the certificate issue directly. PhatomJS is a long dead project and is no longer supported by Selenium.
