2023-11-09 00:21:49 +00:00
|
|
|
;; [[file:webdriver.org::*Dependencies][Dependencies:3]]
|
|
|
|
(import r7rs)
|
|
|
|
(define-library (webdriver)
|
|
|
|
(import (scheme base))
|
2023-11-09 00:21:50 +00:00
|
|
|
(export <WebDriver>
|
|
|
|
<Gecko>
|
|
|
|
new-WebDriver
|
|
|
|
terminate
|
|
|
|
initialize-session
|
|
|
|
terminate-session
|
|
|
|
set-url
|
|
|
|
url
|
|
|
|
back
|
|
|
|
forward
|
|
|
|
refresh
|
|
|
|
title
|
|
|
|
status
|
|
|
|
source
|
|
|
|
screenshot
|
|
|
|
print-page
|
|
|
|
execute-async
|
|
|
|
execute-sync
|
|
|
|
<WDTimeouts>
|
|
|
|
set-timeouts
|
|
|
|
timeouts
|
|
|
|
<WDElement>
|
|
|
|
find-element
|
|
|
|
find-elements
|
|
|
|
attribute
|
|
|
|
property
|
|
|
|
clear
|
|
|
|
click
|
|
|
|
computed-label
|
|
|
|
computed-role
|
|
|
|
enabled?
|
|
|
|
selected?
|
|
|
|
name
|
|
|
|
rect
|
|
|
|
screenshot
|
|
|
|
text
|
|
|
|
set-value
|
|
|
|
&wd-exception
|
|
|
|
wd-exception?
|
|
|
|
wd-stacktrace
|
|
|
|
wd-data
|
|
|
|
&detached-shadow-root detached-shadow-root?
|
|
|
|
&element-click-intercepted element-click-intercepted?
|
|
|
|
&element-not-interactable element-not-interactable?
|
|
|
|
&insecure-certificate insecure-certificate?
|
|
|
|
&invalid-argument invalid-argument?
|
|
|
|
&invalid-cookie-domain invalid-cookie-domain?
|
|
|
|
&invalid-element-state invalid-element-state?
|
|
|
|
&invalid-selector invalid-selector?
|
|
|
|
&invalid-session-id invalid-session-id?
|
|
|
|
&javascript-error javascript-error?
|
|
|
|
&move-target-out-of-bounds move-target-out-of-bounds?
|
|
|
|
&no-such-alert no-such-alert?
|
|
|
|
&no-such-cookie no-such-cookie?
|
|
|
|
&no-such-element no-such-element?
|
|
|
|
&no-such-frame no-such-frame?
|
|
|
|
&no-such-shadow-root no-such-shadow-root?
|
|
|
|
&no-such-window no-such-window?
|
|
|
|
&script-timeout script-timeout?
|
|
|
|
&session-not-created session-not-created?
|
|
|
|
&stale-element-reference stale-element-reference?
|
|
|
|
&timeout timeout?
|
|
|
|
&unable-to-capture-screen unable-to-capture-screen?
|
|
|
|
&unable-to-set-cookie unable-to-set-cookie?
|
|
|
|
&unexpected-alert-open unexpected-alert-open?
|
|
|
|
&unknown-command unknown-command?
|
|
|
|
&unknown-error unknown-error?
|
|
|
|
&unknown-method unknown-method?
|
|
|
|
&unsupported-operation unsupported-operation?
|
|
|
|
)
|
2023-11-09 00:21:49 +00:00
|
|
|
(include "webdriver-impl.scm"))
|
|
|
|
;; Dependencies:3 ends here
|