Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export Selenium output to PHP?

Tags:

php

selenium

It seems like Selenium IDE for Firefox has no default export to PHP. I need Selenium in order to convert its output to PHP to be used in Drupal.

How can I install the PHP language export in order to achive this goal?

like image 929
Kandinski Avatar asked Apr 26 '13 08:04

Kandinski


People also ask

How do I export from selenium?

Getting Started. You can export either a test or suite of tests to WebDriver code by right-clicking on a test or a suite, selecting Export , choosing your target language, and clicking Export . This will save a file containing the exported code for your target language to your browser's download directory.

Can selenium be used with PHP?

The Selenium automation framework supports many programming languages such as Python, PHP, Perl, Java, C#, and Ruby. But if you are looking for a server-side programming language for automation testing, Selenium WebDriver with PHP is the ideal combination.


1 Answers

it's now an add on in mozilla called selenium php formatters

There is also a Chrome extension released in 2016. See downloads at http://www.seleniumhq.org/download/

like image 133
Rachel Gallen Avatar answered Sep 19 '22 08:09

Rachel Gallen