Skip to content

Commit 3a2fbd4

Browse files
authored
docs: update sample code use safari and warn about in dev process (#123)
1 parent ede8fc7 commit 3a2fbd4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
A easy way to implement and write Selenium with TypeScript using Deno 🦕
1515

16+
> Note: This project is under development and is not yet ready for production use. Please use it with caution and report any issues or bugs you encounter.
17+
1618
## Features
1719

1820
- Easy handling on driver side web browser to isolate each test ✅.
@@ -43,12 +45,14 @@ deno install --allow-scripts
4345

4446
In the test file, define a sample test like this:
4547

46-
With this test, we only test this sample code inside a Chrome, Firefox but create a test for another web browser like Edge, Safari 🚀
48+
This sample test will open the browser and check the title of the page, if the title is not equal to "Drowser" the test will fail.
49+
50+
`safari` is the default browser, but you can change it to `chrome` or `firefox`.
4751

4852
```ts
4953
import { driver } from "https://deno.land/x/[email protected]/mod.ts";
5054

51-
driver({ browser: "chrome" })
55+
driver({ browser: "safari" })
5256
.then(({ service }) => {
5357
service.cases = [
5458
{

0 commit comments

Comments
 (0)