of unofficial WebDriver libraries as well, including for PHP. The one we’ll use in this demo is php-webdriver a library developed by Facebook. WebDriver
a web page by URL getTitle() - Return the <title> of the page quit() - Close the Web Browser findElement() - Find 1st element matching query findElements() - Find all elements matching query WebDriver
window or frame navigate() - move through the browser history manage() - manage cookies & logs getPageSource() - “View Source” getCurrentURL() - Get the Current URL WebDriver
a value into an input or textarea click() - Click on the element clear() - Clear an input or textarea getID() - Get the ID of the element getAttribute() - Returns any attribute of the element getTagName() - Returns the HTML tag name getCSSValue() - Returns the value of a CSS property getLocation() - Returns x y coordinate getSize() - Get the Size (Height & Width) of the Element isDisplayed() - Is this element visible isEnabled() - Is this element enabled WebDriverElement
will be available on shawnhooper.ca WPCampus Speaker Survey: https://2017.wpcampus.org/session-survey/436 Tweet Me @shawnhooper WordPress Slack: shooper Thank You!