-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: roll Playwright to 1.9.2 (#108)
- Loading branch information
Showing
33 changed files
with
3,680 additions
and
1,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ | |
covprofile | ||
.idea/ | ||
.DS_Store | ||
|
||
api.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
package playwright | ||
|
||
func getMixedState(in string) *MixedState { | ||
v := MixedState(in) | ||
return &v | ||
} | ||
|
||
type MixedState string | ||
|
||
var ( | ||
MixedStateOn *MixedState = getMixedState("On") | ||
MixedStateOff = getMixedState("Off") | ||
MixedStateMixed = getMixedState("Mixed") | ||
) | ||
|
||
func getColorScheme(in string) *ColorScheme { | ||
v := ColorScheme(in) | ||
return &v | ||
} | ||
|
||
type ColorScheme string | ||
|
||
var ( | ||
ColorSchemeLight *ColorScheme = getColorScheme("light") | ||
ColorSchemeDark = getColorScheme("dark") | ||
ColorSchemeNoPreference = getColorScheme("no-preference") | ||
) | ||
|
||
func getMouseButton(in string) *MouseButton { | ||
v := MouseButton(in) | ||
return &v | ||
} | ||
|
||
type MouseButton string | ||
|
||
var ( | ||
MouseButtonLeft *MouseButton = getMouseButton("left") | ||
MouseButtonRight = getMouseButton("right") | ||
MouseButtonMiddle = getMouseButton("middle") | ||
) | ||
|
||
func getKeyboardModifier(in string) *KeyboardModifier { | ||
v := KeyboardModifier(in) | ||
return &v | ||
} | ||
|
||
type KeyboardModifier string | ||
|
||
var ( | ||
KeyboardModifierAlt *KeyboardModifier = getKeyboardModifier("Alt") | ||
KeyboardModifierControl = getKeyboardModifier("Control") | ||
KeyboardModifierMeta = getKeyboardModifier("Meta") | ||
KeyboardModifierShift = getKeyboardModifier("Shift") | ||
) | ||
|
||
func getScreenshotType(in string) *ScreenshotType { | ||
v := ScreenshotType(in) | ||
return &v | ||
} | ||
|
||
type ScreenshotType string | ||
|
||
var ( | ||
ScreenshotTypePng *ScreenshotType = getScreenshotType("png") | ||
ScreenshotTypeJpeg = getScreenshotType("jpeg") | ||
) | ||
|
||
func getElementState(in string) *ElementState { | ||
v := ElementState(in) | ||
return &v | ||
} | ||
|
||
type ElementState string | ||
|
||
var ( | ||
ElementStateVisible *ElementState = getElementState("visible") | ||
ElementStateHidden = getElementState("hidden") | ||
ElementStateStable = getElementState("stable") | ||
ElementStateEnabled = getElementState("enabled") | ||
ElementStateDisabled = getElementState("disabled") | ||
ElementStateEditable = getElementState("editable") | ||
) | ||
|
||
func getWaitForSelectorState(in string) *WaitForSelectorState { | ||
v := WaitForSelectorState(in) | ||
return &v | ||
} | ||
|
||
type WaitForSelectorState string | ||
|
||
var ( | ||
WaitForSelectorStateAttached *WaitForSelectorState = getWaitForSelectorState("attached") | ||
WaitForSelectorStateDetached = getWaitForSelectorState("detached") | ||
WaitForSelectorStateVisible = getWaitForSelectorState("visible") | ||
WaitForSelectorStateHidden = getWaitForSelectorState("hidden") | ||
) | ||
|
||
func getWaitUntilState(in string) *WaitUntilState { | ||
v := WaitUntilState(in) | ||
return &v | ||
} | ||
|
||
type WaitUntilState string | ||
|
||
var ( | ||
WaitUntilStateLoad *WaitUntilState = getWaitUntilState("load") | ||
WaitUntilStateDomcontentloaded = getWaitUntilState("domcontentloaded") | ||
WaitUntilStateNetworkidle = getWaitUntilState("networkidle") | ||
) | ||
|
||
func getLoadState(in string) *LoadState { | ||
v := LoadState(in) | ||
return &v | ||
} | ||
|
||
type LoadState string | ||
|
||
var ( | ||
LoadStateLoad *LoadState = getLoadState("load") | ||
LoadStateDomcontentloaded = getLoadState("domcontentloaded") | ||
LoadStateNetworkidle = getLoadState("networkidle") | ||
) | ||
|
||
func getMedia(in string) *Media { | ||
v := Media(in) | ||
return &v | ||
} | ||
|
||
type Media string | ||
|
||
var ( | ||
MediaScreen *Media = getMedia("screen") | ||
MediaPrint = getMedia("print") | ||
) | ||
|
||
func getSameSiteAttribute(in string) *SameSiteAttribute { | ||
v := SameSiteAttribute(in) | ||
return &v | ||
} | ||
|
||
type SameSiteAttribute string | ||
|
||
var ( | ||
SameSiteAttributeStrict *SameSiteAttribute = getSameSiteAttribute("Strict") | ||
SameSiteAttributeLax = getSameSiteAttribute("Lax") | ||
SameSiteAttributeNone = getSameSiteAttribute("None") | ||
) |
Oops, something went wrong.