Search our documentation:
Selenium is a popular, open source browser automation tool set. Ghost Inspector allows for both the import and export of tests in Selenium IDE's HTML format, as well as export in various other Selenium-based formats.
Ghost Inspector allows you to import single tests in Selenium IDE's HTML format. This is done from the suite screen (so you must have or create a suite first). Under the "Actions" menu, choose the "Import a Test in Selenium Format (.html)" option. This will present you with a file selection box for choosing the local .html file on your machine.
The import process should take no more than a few seconds. Once complete, you'll be redirected to the test editor screen showing the steps of your imported test. Here you can review the imported steps and make any necessary adjustments. Use the "Save" button to save the test after review. You will be returned to the test's main screen where you can then run the test.
waitForElementPresentare not necessary with Ghost Inspector, because these are applied automatically between each step.
Ghost Inspector supports both CSS and XPath selector methods. The following selector values are supported.
css= xpath= id= name= type= link=
Ghost Inspector supports the vast majority of commonly used commands available in the Selenium HTML format. Below is a complete list of supported commands. (Note that the
*AndWait versions of all these commands are also supported.)
captureEntirePageScreenshot click contextMenu doubleClick dragAndDropToObject keyPress mouseDown open openWindow pause refresh runScript select sendKeys store storeEval type
assertElementNotPresent assertElementPresent assertEval assertLocation assertNotLocation assertNotText assertNotTitle assertText assertTextNotPresent assertTextPresent assertTitle
verifyElementNotPresent verifyElementPresent verifyEval verifyLocation verifyNotLocation verifyNotText verifyNotTitle verifyText verifyTextNotPresent verifyTextPresent verifyTitle
Ghost Inspector has the ability to export Selenium files into various formats. This includes:
You can export a single test as a .html, .side or .json file, or an entire suite of tests in .side or .zip formats. This can be done through both our API and our application.
If you wish to export a test in Selenium format in our application, you can do so via the “Download in Selenium Format” links in the test’s “Action” menu. (The same can be done for a suite in the suite’s “Action” menu.)