diff --git a/README.md b/README.md index 67510df3f..143ec4e03 100644 --- a/README.md +++ b/README.md @@ -78,21 +78,21 @@ npx qawolf create url [name] πŸ’ͺ Convert your actions into [Playwright](https://github.com/microsoft/playwright) code: -| Action | Status | Example | -| ------------------------------------------------------------ | :----: | ---------------------------------------------------------- | -| Click | βœ… | `page.click(selectors['0_submit'])` | -| Type | βœ… | `page.type(selectors['0_username'], 'username')` | -| Scroll | βœ… | `qawolf.scroll(page, 'html', { x: 0, y: 200 })` | -| Select | βœ… | `page.selectOption(selectors['0_ice_cream'], 'chocolate')` | -| Replace text | βœ… | `page.fill(selectors['0_username'], 'username')` | -| Paste | βœ… | `page.type(selectors['password'], 'pasted')` | -| Use a test attribute | βœ… | `page.click("[data-qa='submit']")` | -| Use a test attribute on an ancestor | βœ… | `page.click("[data-qa='radio'] [value='cat']")` | -| Use multiple pages/tabs | βœ… | `qawolf.waitForPage(page.context(), 1)` | -| [Iframes](https://github.com/qawolf/qawolf/issues/279) | πŸ—ΊοΈ | Coming soon | -| [Drag and drop](https://github.com/qawolf/qawolf/issues/315) | πŸ—ΊοΈ | Coming soon | -| [File upload](https://github.com/qawolf/qawolf/issues/331) | πŸ—ΊοΈ | Coming soon | -| [Back button](https://github.com/qawolf/qawolf/issues/438) | πŸ—ΊοΈ | Coming soon | +| Action | Status | Example | +| ------------------------------------------------------------ | :----: | ----------------------------------------------- | +| Click | βœ… | `page.click('#login')` | +| Type | βœ… | `page.fill('.username', 'spirit@qawolf.com')` | +| Scroll | βœ… | `qawolf.scroll(page, 'html', { x: 0, y: 200 })` | +| Select | βœ… | `page.selectOption('.ice_cream', 'chocolate')` | +| Replace text | βœ… | `page.fill('.username', 'username')` | +| Paste | βœ… | `page.type('password', 'pasted')` | +| Use a test attribute | βœ… | `page.click("[data-qa='submit']")` | +| Use a test attribute on an ancestor | βœ… | `page.click("[data-qa='radio'] [value='cat']")` | +| Use multiple pages/tabs | βœ… | `qawolf.waitForPage(page.context(), 1)` | +| [Iframes](https://github.com/qawolf/qawolf/issues/279) | πŸ—ΊοΈ | Coming soon | +| [Drag and drop](https://github.com/qawolf/qawolf/issues/315) | πŸ—ΊοΈ | Coming soon | +| [File upload](https://github.com/qawolf/qawolf/issues/331) | πŸ—ΊοΈ | Coming soon | +| [Back button](https://github.com/qawolf/qawolf/issues/438) | πŸ—ΊοΈ | Coming soon | As your test is created: