mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
ff8c15eb67
* Added support of getting URL dynamically
18 lines
272 B
Plaintext
18 lines
272 B
Plaintext
LET page = PARSE(`
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Offline</title>
|
|
</head>
|
|
<body>
|
|
<h1>Hello world</h1>
|
|
</body>
|
|
</html>
|
|
`, {
|
|
driver: "cdp"
|
|
})
|
|
|
|
LET title = ELEMENT(page, "title")
|
|
|
|
RETURN T::EQ(title.innerText, "Offline") |