@@ -67,7 +67,8 @@ def get_page_state(
67
67
value , assertion_operator , assertion_expected , "State "
68
68
)
69
69
70
- @keyword (tags = ["Getter" , "BrowserControl" ])
70
+ @keyword (tags = ["Getter" , "Assertion" , "BrowserControl" ])
71
+ @with_assertions
71
72
def get_page_source (
72
73
self ,
73
74
assertion_operator : Optional [AssertionOperator ] = None ,
@@ -163,7 +164,6 @@ def get_attribute(
163
164
)
164
165
165
166
@keyword (tags = ["Getter" , "Assertion" , "PageContent" ])
166
- @with_assertions
167
167
def get_textfield_value (
168
168
self ,
169
169
selector : str ,
@@ -311,8 +311,7 @@ def get_element_count(
311
311
f"Element count for selector `{ selector } ` is" ,
312
312
)
313
313
314
- @keyword (tags = ["Getter" , "Assertion" , "BrowserControl" ])
315
- @with_assertions
314
+ @keyword (tags = ["Getter" , "BrowserControl" ])
316
315
def get_browser_catalog (self ):
317
316
""" Returns all browsers, open contexts in them and open pages in these contexts.
318
317
@@ -442,8 +441,7 @@ def get_style(
442
441
f"Style value for { key } is " ,
443
442
)
444
443
445
- @keyword (tags = ["Getter" , "Assertion" ])
446
- @with_assertions
444
+ @keyword (tags = ["Getter" ])
447
445
def get_boundingbox (self , selector : str , * keys : BoundingBoxFields ):
448
446
""" Gets elements size and location as an object {x: int, y: int, width: int, height: int}.
449
447
0 commit comments