Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Selenium by (7k points)
I want to use Selenium to automate a few web tasks which are not for testing. I have Selenium RC Server installed. But have no way of writing test scripts as I am unable to  find a client driver in PHP.

How to use Selenium with PHP?

1 Answer

0 votes
by (31.9k points)

Try Following things
   Install Phpunit
    Have JAVA sdk & jre
    Record test cases using selenium IDE.
    Export  testcases to php files.
    Create an library of test cases using these exported functions.
    Create the suite which calls functions/tests from  the library.
    Execute Start Selenium Server using java command.
    Execute the suite using phpunit

Want to learn Selenium, checkout our Selenium training.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories