class Playwright::Playwright

def devices # property

property
```
run(playwright)
with sync_playwright() as playwright:

browser.close()
# other actions...
page.goto("http://example.com")
page = context.new_page()
context = browser.new_context(**iphone)
browser = webkit.launch()
iphone = playwright.devices["iPhone 6"]
webkit = playwright.webkit
def run(playwright: Playwright):

from playwright.sync_api import sync_playwright, Playwright
```python sync

Returns a dictionary of devices to be used with [`method: Browser.newContext`] or [`method: Browser.newPage`].
def devices # property
  wrap_impl(@impl.devices)
end