@@ -29,7 +29,7 @@ from selenium.webdriver.support.color import Color
29
29
include Selenium::WebDriver::Support
30
30
{{< / code-panel >}}
31
31
{{< code-panel language="javascript" >}}
32
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
32
+ // This feature is not supported in JS bindings
33
33
{{< / code-panel >}}
34
34
{{< code-panel language="kotlin" >}}import org.openqa.selenium.support.Color{{< / code-panel >}}
35
35
{{< / code-tab >}}
@@ -72,7 +72,7 @@ HSL_COLOUR = Color.from_string('hsl(100, 0%, 50%)')
72
72
HSLA_COLOUR = Color.from_string('hsla(100, 0%, 50%, 0.5)')
73
73
{{< / code-panel >}}
74
74
{{< code-panel language="javascript" >}}
75
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
75
+ // This feature is not supported in JS bindings
76
76
{{< / code-panel >}}
77
77
{{< code-panel language="kotlin" >}}
78
78
private val HEX_COLOUR = Color.fromString("#2F7ED8")
@@ -109,7 +109,7 @@ CHOCOLATE = Color.from_string('chocolate')
109
109
HOTPINK = Color.from_string('hotpink')
110
110
{{< / code-panel >}}
111
111
{{< code-panel language="javascript" >}}
112
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
112
+ // This feature is not supported in JS bindings
113
113
{{< / code-panel >}}
114
114
{{< code-panel language="kotlin" >}}
115
115
private val BLACK = Color.fromString("black")
@@ -136,7 +136,7 @@ TRANSPARENT = Color.from_string('transparent')
136
136
TRANSPARENT = Color.from_string('transparent')
137
137
{{< / code-panel >}}
138
138
{{< code-panel language="javascript" >}}
139
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
139
+ // This feature is not supported in JS bindings
140
140
{{< / code-panel >}}
141
141
{{< code-panel language="kotlin" >}}
142
142
private val TRANSPARENT = Color.fromString("transparent")
@@ -167,7 +167,7 @@ login_button_colour = Color.from_string(driver.find_element(id: 'login').css_val
167
167
login_button_background_colour = Color.from_string(driver.find_element(id: 'login').css_value('background-color'))
168
168
{{< / code-panel >}}
169
169
{{< code-panel language="javascript" >}}
170
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
170
+ // This feature is not supported in JS bindings
171
171
{{< / code-panel >}}
172
172
{{< code-panel language="kotlin" >}}
173
173
val loginButtonColour = Color.fromString(driver.findElement(By.id("login")).getCssValue("color"))
@@ -192,7 +192,7 @@ assert login_button_background_colour == HOTPINK
192
192
assert(login_button_background_colour == HOTPINK)
193
193
{{< / code-panel >}}
194
194
{{< code-panel language="javascript" >}}
195
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
195
+ // This feature is not supported in JS bindings
196
196
{{< / code-panel >}}
197
197
{{< code-panel language="kotlin" >}}
198
198
assert(loginButtonBackgroundColour.equals(HOTPINK))
@@ -222,7 +222,7 @@ assert(login_button_background_colour.rgba == 'rgba(255, 105, 180, 1)')
222
222
assert(login_button_background_colour.rgb == 'rgb(255, 105, 180)')
223
223
{{< / code-panel >}}
224
224
{{< code-panel language="javascript" >}}
225
- // No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR
225
+ // This feature is not supported in JS bindings
226
226
{{< / code-panel >}}
227
227
{{< code-panel language="kotlin" >}}
228
228
assert(loginButtonBackgroundColour.asHex().equals("#ff69b4"))
0 commit comments