diff --git a/README.md b/README.md index 7db25ac6..fe39f998 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,21 @@ Playwright is a Java library to automate [Chromium](https://www.chromium.org/Hom Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/#?path=docs/intro.md&q=system-requirements) for details. +* [Usage](#usage) + - [Add Maven dependency](#add-maven-dependency) + - [Is Playwright thread-safe?](#is-playwright-thread-safe) +* [Examples](#examples) + - [Page screenshot](#page-screenshot) + - [Mobile and geolocation](#mobile-and-geolocation) + - [Evaluate JavaScript in browser](#evaluate-javascript-in-browser) + - [Intercept network requests](#intercept-network-requests) +* [Documentation](#documentation) +* [Contributing](#contributing) +* [Is Playwright for Java ready?](#is-playwright-for-java-ready) + ## Usage -Playwright supports Java 8 and above. +Playwright requires **Java 8** or newer. #### Add Maven dependency @@ -103,7 +115,7 @@ public class MobileAndGeolocation { } ``` -#### Evaluate in browser context +#### Evaluate JavaScript in browser This code snippet navigates to example.com in Firefox, and executes a script in the page context.