Using Selenium with PHP

0 votes
I want to use Selenium to automate few tasks.

Is there a way to use Selenium with PHP?
Jun 21, 2018 in Selenium by Christine
• 15,790 points
1,112 views

1 answer to this question.

0 votes

Try Following things

  1. Install PHPUnit 
  2. Install JAVA SDK & jre 
  3. Now record test cases using selenium IDE.
  4. Export the test cases to PHP files.
  5. Using these exported functions create a library of test cases.
  6. Create suite which calls the functions/tests from the library.
  7. Now to execute Start Selenium Server using java command.
  8. Using PHPUnit Execute the suite.
answered Jun 21, 2018 by Meci Matt
• 9,460 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

Need to perform parallel execution (multiple browser sessions) with Selenium & TestNG by using @BeforeSuite

@Beforesuite annotated method runs before the testNG.XML ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,500 points
6,041 views
0 votes
1 answer
0 votes
1 answer

Using XPath with Selenium-Java code

There is a minor syntax error in ...READ MORE

answered Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
998 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,649 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,131 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,209 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,865 views
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

answered Apr 28, 2018 in Selenium by Meci Matt
• 9,460 points
6,148 views
0 votes
1 answer

Using Selenium IDE with some random values

 Selenium IDE is not used, it is ...READ MORE

answered Jun 13, 2018 in Selenium by Meci Matt
• 9,460 points
4,264 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP