9

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?

Kandinski
  • 953
  • 11
  • 30

2 Answers2

2

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/

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
  • 2
    This add-on is not even capable of creating syntactically correct PHP. And once you manually add the missing semicolons, you realize that the code tries to reassign `$this` to a new reference... Really, this extension shouldn't be advertised. – Eusebius Mar 09 '16 at 17:53
  • I haven't used it in quite a while, but I'm sure there are more up to date extensions available – Rachel Gallen Feb 14 '17 at 07:51
  • 1
    @EdwardBlack this is the git page if you want to fork the code https://github.com/brokenthumbs/PHP-Formatter – Rachel Gallen Feb 14 '17 at 07:56
  • 1
    @EdwardBlack If you could use Chrome, there's an extension that was released just last year. http://www.seleniumhq.org/download/ - there's lots listed on this page – Rachel Gallen Feb 14 '17 at 08:01
0

According to this answer, the export feature has disapeared from Selenium IDE, you could use an alternative (another comparison).

Samuel Dauzon
  • 10,744
  • 13
  • 61
  • 94