Tagging and Categorization

This commit is contained in:
Daniel Ziltener 2022-04-27 16:04:26 +02:00
parent c0dce773e9
commit 9b741a904d
4 changed files with 14 additions and 3 deletions

View File

@ -4,7 +4,7 @@ I provide class methods returning character codes for non-printable characters.
Class { Class {
#name : #WDKeys, #name : #WDKeys,
#superclass : #Object, #superclass : #Object,
#category : #WebDriver #category : #'WebDriver-Constants'
} }
{ #category : #'accessing - token' } { #category : #'accessing - token' }

View File

@ -4,7 +4,7 @@ I provide location strategy values used in messages like `WebDriver>>findElement
Class { Class {
#name : #WDLocationStrategy, #name : #WDLocationStrategy,
#superclass : #Object, #superclass : #Object,
#category : #WebDriver #category : #'WebDriver-Constants'
} }
{ #category : #'as yet unclassified' } { #category : #'as yet unclassified' }

View File

@ -36,7 +36,8 @@ Class {
'browser', 'browser',
'server', 'server',
'port', 'port',
'sessionId' 'sessionId',
'prefs'
], ],
#category : #WebDriver #category : #WebDriver
} }
@ -53,6 +54,11 @@ WebDriver class >> geckodriver [
port: 4444. port: 4444.
] ]
{ #category : #accessing }
WebDriver >> atPref: prefKey put: prefVal [
prefs at: prefKey put: prefVal.
]
{ #category : #accessing } { #category : #accessing }
WebDriver >> attribute: attr from: element [ WebDriver >> attribute: attr from: element [

View File

@ -16,6 +16,11 @@ WebDriverGeckodriver >> constructCapabilities: caps [
asDictionary) } asDictionary. asDictionary) } asDictionary.
] ]
{ #category : #initialization }
WebDriverGeckodriver >> initialize [
prefs := Dictionary new.
]
{ #category : #navigation } { #category : #navigation }
WebDriverGeckodriver >> send: dict to: url using: method [ WebDriverGeckodriver >> send: dict to: url using: method [
|result| |result|