Skip to main content

Home/ HealthcareMetadata/ Group items tagged webdriver

Rss Feed Group items tagged

Malcolm McRoberts

selenium 2.42.1 : Python Package Index - 0 views

  • Selenium WebDriver is often used as a basis for testing web applications. Here is a simple example uisng Python's standard unittest library: import unittest class GoogleTestCase(unittest.TestCase): def setUp(self): self.browser = webdriver.Firefox() self.addCleanup(self.browser.quit) def testPageTitle(self): self.browser.get('http://www.google.com') self.assertIn('Google', self.browser.title) if __name__ == '__main__': unittest.main(verbosity=2)
Malcolm McRoberts

PhantomJS | PhantomJS - 0 views

  • PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
  • Page Automation Access and manipulate webpages with the standard DOM API, or with usual libraries like jQuery. Learn more
  • Headless Website Testing Run functional tests with frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others. Learn more
1 - 3 of 3
Showing 20 items per page