-
Notifications
You must be signed in to change notification settings - Fork 0
ActivatePage.cs
Activates a given page by bringing it to the front.
-
page
: AnIPage
object representing the page to activate.
An IPage
object representing the activated page.
This method activates the specified page by bringing it to the front of the browser window. It does so by calling the BringToFrontAsync()
method of the provided IPage
object. This method blocks until the page has been successfully brought to the front.
Activates a page at the specified index by bringing it to the front.
-
index
: Anint
representing the index of the page to activate.
An IPage
object representing the activated page.
This method activates the page at the specified index by bringing it to the front of the browser window. It does so by calling the ActivatePage(IPage page)
method with the IPage
object obtained by calling GetPageByIndex(index)
. This method blocks until the page has been successfully brought to the front.