@@ -191,7 +191,7 @@ def isNavigationRequest(self) -> bool:
191
191
-------
192
192
bool
193
193
"""
194
- return mapping .from_maybe_impl (self ._sync ( self . _impl_obj .isNavigationRequest () ))
194
+ return mapping .from_maybe_impl (self ._impl_obj .isNavigationRequest ())
195
195
196
196
197
197
mapping .register (RequestImpl , Request )
@@ -756,7 +756,7 @@ def asElement(self) -> typing.Union["ElementHandle", NoneType]:
756
756
-------
757
757
typing.Union[ElementHandle, NoneType]
758
758
"""
759
- return mapping .from_impl_nullable (self ._sync ( self . _impl_obj .asElement () ))
759
+ return mapping .from_impl_nullable (self ._impl_obj .asElement ())
760
760
761
761
def dispose (self ) -> NoneType :
762
762
"""JSHandle.dispose
@@ -797,7 +797,7 @@ def asElement(self) -> typing.Union["ElementHandle", NoneType]:
797
797
-------
798
798
typing.Union[ElementHandle, NoneType]
799
799
"""
800
- return mapping .from_impl_nullable (self ._sync ( self . _impl_obj .asElement () ))
800
+ return mapping .from_impl_nullable (self ._impl_obj .asElement ())
801
801
802
802
def ownerFrame (self ) -> typing .Union ["Frame" , NoneType ]:
803
803
"""ElementHandle.ownerFrame
@@ -2062,7 +2062,7 @@ def isDetached(self) -> bool:
2062
2062
-------
2063
2063
bool
2064
2064
"""
2065
- return mapping .from_maybe_impl (self ._sync ( self . _impl_obj .isDetached () ))
2065
+ return mapping .from_maybe_impl (self ._impl_obj .isDetached ())
2066
2066
2067
2067
def addScriptTag (
2068
2068
self , url : str = None , path : str = None , content : str = None , type : str = None
@@ -3155,7 +3155,7 @@ def frame(
3155
3155
frame matching the criteria. Returns `null` if no frame matches.
3156
3156
"""
3157
3157
return mapping .from_impl_nullable (
3158
- self ._sync ( self . _impl_obj .frame (name = name , url = self ._wrap_handler (url ) ))
3158
+ self ._impl_obj .frame (name = name , url = self ._wrap_handler (url ))
3159
3159
)
3160
3160
3161
3161
def setDefaultNavigationTimeout (self , timeout : int ) -> NoneType :
@@ -3178,7 +3178,7 @@ def setDefaultNavigationTimeout(self, timeout: int) -> NoneType:
3178
3178
Maximum navigation time in milliseconds
3179
3179
"""
3180
3180
return mapping .from_maybe_impl (
3181
- self ._sync ( self . _impl_obj .setDefaultNavigationTimeout (timeout = timeout ) )
3181
+ self ._impl_obj .setDefaultNavigationTimeout (timeout = timeout )
3182
3182
)
3183
3183
3184
3184
def setDefaultTimeout (self , timeout : int ) -> NoneType :
@@ -3194,7 +3194,7 @@ def setDefaultTimeout(self, timeout: int) -> NoneType:
3194
3194
Maximum time in milliseconds
3195
3195
"""
3196
3196
return mapping .from_maybe_impl (
3197
- self ._sync ( self . _impl_obj .setDefaultTimeout (timeout = timeout ) )
3197
+ self ._impl_obj .setDefaultTimeout (timeout = timeout )
3198
3198
)
3199
3199
3200
3200
def querySelector (self , selector : str ) -> typing .Union ["ElementHandle" , NoneType ]:
@@ -3974,7 +3974,7 @@ def viewportSize(self) -> typing.Union[Viewport, NoneType]:
3974
3974
-------
3975
3975
typing.Union[Viewport, NoneType]
3976
3976
"""
3977
- return mapping .from_maybe_impl (self ._sync ( self . _impl_obj .viewportSize () ))
3977
+ return mapping .from_maybe_impl (self ._impl_obj .viewportSize ())
3978
3978
3979
3979
def bringToFront (self ) -> NoneType :
3980
3980
"""Page.bringToFront
@@ -4149,7 +4149,7 @@ def isClosed(self) -> bool:
4149
4149
-------
4150
4150
bool
4151
4151
"""
4152
- return mapping .from_maybe_impl (self ._sync ( self . _impl_obj .isClosed () ))
4152
+ return mapping .from_maybe_impl (self ._impl_obj .isClosed ())
4153
4153
4154
4154
def click (
4155
4155
self ,
@@ -5003,7 +5003,7 @@ def setDefaultNavigationTimeout(self, timeout: int) -> NoneType:
5003
5003
Maximum navigation time in milliseconds
5004
5004
"""
5005
5005
return mapping .from_maybe_impl (
5006
- self ._sync ( self . _impl_obj .setDefaultNavigationTimeout (timeout = timeout ) )
5006
+ self ._impl_obj .setDefaultNavigationTimeout (timeout = timeout )
5007
5007
)
5008
5008
5009
5009
def setDefaultTimeout (self , timeout : int ) -> NoneType :
@@ -5019,7 +5019,7 @@ def setDefaultTimeout(self, timeout: int) -> NoneType:
5019
5019
Maximum time in milliseconds
5020
5020
"""
5021
5021
return mapping .from_maybe_impl (
5022
- self ._sync ( self . _impl_obj .setDefaultTimeout (timeout = timeout ) )
5022
+ self ._impl_obj .setDefaultTimeout (timeout = timeout )
5023
5023
)
5024
5024
5025
5025
def newPage (self ) -> "Page" :
@@ -5374,7 +5374,7 @@ def isConnected(self) -> bool:
5374
5374
-------
5375
5375
bool
5376
5376
"""
5377
- return mapping .from_maybe_impl (self ._sync ( self . _impl_obj .isConnected () ))
5377
+ return mapping .from_maybe_impl (self ._impl_obj .isConnected ())
5378
5378
5379
5379
def newContext (
5380
5380
self ,
0 commit comments