Skip to content

Commit 067b882

Browse files
authored
[donet]: clean code and line number for info (#2214)[deploy site]
* [donet]: clean code and line number for info * oops
1 parent 559f4be commit 067b882

File tree

5 files changed

+45
-45
lines changed

5 files changed

+45
-45
lines changed

examples/dotnet/SeleniumDocs/Elements/InformationTest.cs

+13-13
Original file line numberDiff line numberDiff line change
@@ -22,43 +22,43 @@ public void TestInformationCommands(){
2222
bool isEmailVisible = driver.FindElement(By.Name("email_input")).Displayed;
2323
Assert.AreEqual(isEmailVisible, true);
2424

25-
//isEnabled
26-
//returns true if element is enabled else returns false
25+
// isEnabled
26+
// returns true if element is enabled else returns false
2727
bool isEnabledButton = driver.FindElement(By.Name("button_input")).Enabled;
2828
Assert.AreEqual(isEnabledButton, true);
2929

30-
//isSelected
31-
//returns true if element is checked else returns false
30+
// isSelected
31+
// returns true if element is checked else returns false
3232
bool isSelectedCheck = driver.FindElement(By.Name("checkbox_input")).Selected;
3333
Assert.AreEqual(isSelectedCheck, true);
3434

35-
//TagName
36-
//returns TagName of the element
35+
// TagName
36+
// returns TagName of the element
3737
string tagNameInp = driver.FindElement(By.Name("email_input")).TagName;
3838
Assert.AreEqual(tagNameInp, "input");
3939

40-
//Get Location and Size
41-
//Get Location
40+
// Get Location and Size
41+
// Get Location
4242
IWebElement rangeElement = driver.FindElement(By.Name("range_input"));
4343
Point point = rangeElement.Location;
4444
Assert.IsNotNull(point.X);
45-
//Get Size
45+
// Get Size
4646
int height=rangeElement.Size.Height;
4747
Assert.IsNotNull(height);
4848

4949
// Retrieves the computed style property 'font-size' of field
5050
string cssValue = driver.FindElement(By.Name("color_input")).GetCssValue("font-size");
5151
Assert.AreEqual(cssValue, "13.3333px");
5252

53-
//GetText
53+
// GetText
5454
// Retrieves the text of the element
5555
string text = driver.FindElement(By.TagName("h1")).Text;
5656
Assert.AreEqual(text, "Testing Inputs");
5757

58-
//FetchAttributes
59-
//identify the email text box
58+
// FetchAttributes
59+
// identify the email text box
6060
IWebElement emailTxt = driver.FindElement(By.Name("email_input"));
61-
//fetch the value property associated with the textbox
61+
// fetch the value property associated with the textbox
6262
string valueInfo = emailTxt.GetAttribute("value");
6363
Assert.AreEqual(valueInfo, "admin@localhost");
6464

website_and_docs/content/documentation/webdriver/elements/information.en.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ nature and relationship in the tree to return a value.
3333
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L12-L15" >}}
3434
{{< /tab >}}
3535
{{< tab header="CSharp" text=true >}}
36-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L23" >}}
36+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L22" >}}
3737
{{< /tab >}}
3838
{{< tab header="Ruby" text=true >}}
3939
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L12">}}
@@ -68,7 +68,7 @@ Returns a boolean value, **True** if the connected element is
6868
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L19" >}}
6969
{{< /tab >}}
7070
{{< tab header="CSharp" text=true >}}
71-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L28" >}}
71+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L27" >}}
7272
{{< /tab >}}
7373
{{< tab header="Ruby" text=true >}}
7474
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L17">}}
@@ -102,7 +102,7 @@ Returns a boolean value, **True** if referenced element is
102102
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
103103
{{< /tab >}}
104104
{{< tab header="CSharp" text=true >}}
105-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L33" >}}
105+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L32" >}}
106106
{{< /tab >}}
107107
{{< tab header="Ruby" text=true >}}
108108
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L22">}}
@@ -132,7 +132,7 @@ of the referenced Element which has the focus in the current browsing context.
132132
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L27" >}}
133133
{{< /tab >}}
134134
{{< tab header="CSharp" text=true >}}
135-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L38" >}}
135+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L37" >}}
136136
{{< /tab >}}
137137
{{< tab header="Ruby" text=true >}}
138138
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L27">}}
@@ -168,7 +168,7 @@ The fetched data body contain the following details:
168168
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L31" >}}
169169
{{< /tab >}}
170170
{{< tab header="CSharp" text=true >}}
171-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L47" >}}
171+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L43" >}}
172172
{{< /tab >}}
173173
{{< tab header="Ruby" text=true >}}
174174
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L32">}}
@@ -201,7 +201,7 @@ of an element in the current browsing context.
201201
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L35-L37" >}}
202202
{{< /tab >}}
203203
{{< tab header="CSharp" text=true >}}
204-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L51" >}}
204+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L50" >}}
205205
{{< /tab >}}
206206
{{< tab header="Ruby" text=true >}}
207207
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L38">}}
@@ -232,7 +232,7 @@ Retrieves the rendered text of the specified element.
232232
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L41" >}}
233233
{{< /tab >}}
234234
{{< tab header="CSharp" text=true >}}
235-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L56" >}}
235+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L55" >}}
236236
{{< /tab >}}
237237
{{< tab header="Ruby" text=true >}}
238238
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L43">}}
@@ -265,7 +265,7 @@ with the DOM attribute or property of the element.
265265
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L44-L46" >}}
266266
{{< /tab >}}
267267
{{< tab header="CSharp" text=true >}}
268-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L63" >}}
268+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L62" >}}
269269
{{< /tab >}}
270270
{{< tab header="Ruby" text=true >}}
271271
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L48">}}

website_and_docs/content/documentation/webdriver/elements/information.ja.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ nature and relationship in the tree to return a value.
3333
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L12-L15" >}}
3434
{{< /tab >}}
3535
{{< tab header="CSharp" text=true >}}
36-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L23" >}}
36+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L22" >}}
3737
{{< /tab >}}
3838
{{< tab header="Ruby" text=true >}}
3939
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L12">}}
@@ -67,7 +67,7 @@ nature and relationship in the tree to return a value.
6767
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L19" >}}
6868
{{< /tab >}}
6969
{{< tab header="CSharp" text=true >}}
70-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L28" >}}
70+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L27" >}}
7171
{{< /tab >}}
7272
{{< tab header="Ruby" text=true >}}
7373
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L17">}}
@@ -99,7 +99,7 @@ nature and relationship in the tree to return a value.
9999
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
100100
{{< /tab >}}
101101
{{< tab header="CSharp" text=true >}}
102-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L33" >}}
102+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L32" >}}
103103
{{< /tab >}}
104104
{{< tab header="Ruby" text=true >}}
105105
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L22">}}
@@ -129,7 +129,7 @@ val attr = driver.findElement(By.name("checkbox_input")).isSelected()
129129
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L27" >}}
130130
{{< /tab >}}
131131
{{< tab header="CSharp" text=true >}}
132-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L38" >}}
132+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L37" >}}
133133
{{< /tab >}}
134134
{{< tab header="Ruby" text=true >}}
135135
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L27">}}
@@ -165,7 +165,7 @@ val attr = driver.findElement(By.name("email_input")).getTagName()
165165
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L31" >}}
166166
{{< /tab >}}
167167
{{< tab header="CSharp" text=true >}}
168-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L47" >}}
168+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L43" >}}
169169
{{< /tab >}}
170170
{{< tab header="Ruby" text=true >}}
171171
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L32">}}
@@ -197,7 +197,7 @@ println(res.getX())
197197
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L35-L37" >}}
198198
{{< /tab >}}
199199
{{< tab header="CSharp" text=true >}}
200-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L51" >}}
200+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L50" >}}
201201
{{< /tab >}}
202202
{{< tab header="Ruby" text=true >}}
203203
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L38">}}
@@ -226,7 +226,7 @@ val cssValue = driver.findElement(By.id("namedColor")).getCssValue("background-c
226226
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L41" >}}
227227
{{< /tab >}}
228228
{{< tab header="CSharp" text=true >}}
229-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L56" >}}
229+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L55" >}}
230230
{{< /tab >}}
231231
{{< tab header="Ruby" text=true >}}
232232
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L43">}}
@@ -257,7 +257,7 @@ with the DOM attribute or property of the element.
257257
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L44-L46" >}}
258258
{{< /tab >}}
259259
{{< tab header="CSharp" text=true >}}
260-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L63" >}}
260+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L62" >}}
261261
{{< /tab >}}
262262
{{< tab header="Ruby" text=true >}}
263263
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L48">}}

website_and_docs/content/documentation/webdriver/elements/information.pt-br.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ nature and relationship in the tree to return a value.
3434
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L12-L15" >}}
3535
{{< /tab >}}
3636
{{< tab header="CSharp" text=true >}}
37-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L23" >}}
37+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L22" >}}
3838
{{< /tab >}}
3939
{{< tab header="Ruby" text=true >}}
4040
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L12">}}
@@ -68,7 +68,7 @@ Returns a boolean value, **True** if the connected element is
6868
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L19" >}}
6969
{{< /tab >}}
7070
{{< tab header="CSharp" text=true >}}
71-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L28" >}}
71+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L27" >}}
7272
{{< /tab >}}
7373
{{< tab header="Ruby" text=true >}}
7474
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L17">}}
@@ -105,7 +105,7 @@ Retorna um valor booleano, **true** se o elemento referenciado for
105105
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
106106
{{< /tab >}}
107107
{{< tab header="CSharp" text=true >}}
108-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L33" >}}
108+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L32" >}}
109109
{{< /tab >}}
110110
{{< tab header="Ruby" text=true >}}
111111
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L22">}}
@@ -137,7 +137,7 @@ do elemento referenciado que tem o foco no contexto de navegação atual.
137137
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L27" >}}
138138
{{< /tab >}}
139139
{{< tab header="CSharp" text=true >}}
140-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L38" >}}
140+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L37" >}}
141141
{{< /tab >}}
142142
{{< tab header="Ruby" text=true >}}
143143
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L27">}}
@@ -174,7 +174,7 @@ O corpo de dados buscado contém os seguintes detalhes:
174174
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L31" >}}
175175
{{< /tab >}}
176176
{{< tab header="CSharp" text=true >}}
177-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L47" >}}
177+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L43" >}}
178178
{{< /tab >}}
179179
{{< tab header="Ruby" text=true >}}
180180
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L32">}}
@@ -207,7 +207,7 @@ de um elemento no contexto de navegação atual.
207207
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L35-L37" >}}
208208
{{< /tab >}}
209209
{{< tab header="CSharp" text=true >}}
210-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L51" >}}
210+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L50" >}}
211211
{{< /tab >}}
212212
{{< tab header="Ruby" text=true >}}
213213
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L38">}}
@@ -239,7 +239,7 @@ Recupera o texto renderizado do elemento especificado.
239239
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L41" >}}
240240
{{< /tab >}}
241241
{{< tab header="CSharp" text=true >}}
242-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L56" >}}
242+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L55" >}}
243243
{{< /tab >}}
244244
{{< tab header="Ruby" text=true >}}
245245
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L43">}}
@@ -272,7 +272,7 @@ with the DOM attribute or property of the element.
272272
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L44-L46" >}}
273273
{{< /tab >}}
274274
{{< tab header="CSharp" text=true >}}
275-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L63" >}}
275+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L62" >}}
276276
{{< /tab >}}
277277
{{< tab header="Ruby" text=true >}}
278278
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L48">}}

website_and_docs/content/documentation/webdriver/elements/information.zh-cn.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description: >
2727
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L12-L15" >}}
2828
{{< /tab >}}
2929
{{< tab header="CSharp" text=true >}}
30-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L23" >}}
30+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L18-L22" >}}
3131
{{< /tab >}}
3232
{{< tab header="Ruby" text=true >}}
3333
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L12">}}
@@ -59,7 +59,7 @@ val flag = driver.findElement(By.name("email_input")).isDisplayed()
5959
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L19" >}}
6060
{{< /tab >}}
6161
{{< tab header="CSharp" text=true >}}
62-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L28" >}}
62+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L25-L27" >}}
6363
{{< /tab >}}
6464
{{< tab header="Ruby" text=true >}}
6565
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L17">}}
@@ -92,7 +92,7 @@ val attr = driver.findElement(By.name("button_input")).isEnabled()
9292
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L23" >}}
9393
{{< /tab >}}
9494
{{< tab header="CSharp" text=true >}}
95-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L33" >}}
95+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L30-L32" >}}
9696
{{< /tab >}}
9797
{{< tab header="Ruby" text=true >}}
9898
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L22">}}
@@ -123,7 +123,7 @@ val attr = driver.findElement(By.name("checkbox_input")).isSelected()
123123
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L27" >}}
124124
{{< /tab >}}
125125
{{< tab header="CSharp" text=true >}}
126-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L38" >}}
126+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L35-L37" >}}
127127
{{< /tab >}}
128128
{{< tab header="Ruby" text=true >}}
129129
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L27">}}
@@ -161,7 +161,7 @@ val attr = driver.findElement(By.name("email_input")).getTagName()
161161
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L31" >}}
162162
{{< /tab >}}
163163
{{< tab header="CSharp" text=true >}}
164-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L47" >}}
164+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L40-L43" >}}
165165
{{< /tab >}}
166166
{{< tab header="Ruby" text=true >}}
167167
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L32">}}
@@ -195,7 +195,7 @@ println(res.getX())
195195
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L35-L37" >}}
196196
{{< /tab >}}
197197
{{< tab header="CSharp" text=true >}}
198-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L51" >}}
198+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L49-L50" >}}
199199
{{< /tab >}}
200200
{{< tab header="Ruby" text=true >}}
201201
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L38">}}
@@ -227,7 +227,7 @@ val cssValue = driver.findElement(By.id("namedColor")).getCssValue("background-c
227227
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L41" >}}
228228
{{< /tab >}}
229229
{{< tab header="CSharp" text=true >}}
230-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L56" >}}
230+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L53-L55" >}}
231231
{{< /tab >}}
232232
{{< tab header="Ruby" text=true >}}
233233
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L43">}}
@@ -259,7 +259,7 @@ val text = driver.findElement(By.id("justanotherlink")).getText()
259259
{{< gh-codeblock path="examples/python/tests/elements/test_information.py#L44-L46" >}}
260260
{{< /tab >}}
261261
{{< tab header="CSharp" text=true >}}
262-
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L63" >}}
262+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Elements/InformationTest.cs#L58-L62" >}}
263263
{{< /tab >}}
264264
{{< tab header="Ruby" text=true >}}
265265
{{< gh-codeblock path="/examples/ruby/spec/elements/information_spec.rb#L48">}}

0 commit comments

Comments
 (0)