Skip to content

Commit 80f28be

Browse files
authored
fix: Use correct casing for ignoreHTTPSErrors (#45)
Fixes #43 Optional follow-up: Instead of an explicit whitelist of the entire option/key names, we should handle key fragments (any option that contains `https/url//html`).
1 parent a2c4888 commit 80f28be

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/playwright_ex/periphery/serialization.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ defmodule PlaywrightEx.Serialization do
33

44
def camelize(:inner_html), do: "innerHTML"
55
def camelize(:base_url), do: "baseURL"
6+
def camelize(:ignore_https_errors), do: "ignoreHTTPSErrors"
67
def camelize(input), do: input |> to_string() |> camelize(:lower)
78
def underscore(string), do: string |> Macro.underscore() |> String.to_atom()
89

0 commit comments

Comments
 (0)