diff --git a/dusk.md b/dusk.md index 11452e1f067..6c1c9ef40ea 100644 --- a/dusk.md +++ b/dusk.md @@ -471,6 +471,14 @@ The `click` method may be used to "click" on an element matching the given selec $browser->click('.selector'); +The `clickAtPoint` method may be used to "click" on the topmost element at a given pair of coordinates relative to the viewable area of the browser: + + $browser->clickAtPoint(0, 0); + +The `clickAtXPath` method may be used to "click" on an element matching the given XPath expression: + + $browser->clickAtXPath('//div[@class = "selector"]'); + #### Mouseover The `mouseover` method may be used when you need to move the mouse over an element matching the given selector: