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
89 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,400 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,050 points
1,090 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 13, 2018 in Selenium by king_kenny
• 3,590 points
47 views
0 votes
1 answer

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,050 points
253 views
0 votes
1 answer
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,130 points
621 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
248 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 27, 2018 in Selenium by Meci Matt
• 9,400 points
1,910 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,400 points
708 views