Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Oct 12, 2020
1 parent 0c31f36 commit c18b302
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Browser/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ class Browser(DynamicCore):
== Contexts ==
A *context* corresponds to several independent incognito browsers in Chrome
that do not share cookies, sessions or profile settings.
Compared to Selenium, these do *not* require their own browser process!
Therefore, to get a clean environment the tests shall just close the current
context and open a new context.
A *context* corresponds to set of independent incognito pages in a browser
that share cookies, sessions or profile settings. Pages in two separate
contexts do not share cookies, sessions or profile settings.
Compared to Selenium, these do *not* require their own browser process.
To get a clean environment a test can just open a new context.
Due to this new independent browser sessions can be opened with
Robot Framework Browser about 10 times faster than with Selenium by
just opening a `New Context` within the opened browser.
Expand All @@ -113,7 +113,7 @@ class Browser(DynamicCore):
== Pages ==
A *page* does contain the content of the loaded web site.
A *page* does contain the content of the loaded web site and has a browsing history.
Pages and browser tabs are the same.
Typical usage could be:
Expand All @@ -124,8 +124,6 @@ class Browser(DynamicCore):
| New Page https://marketsquare.github.io/robotframework-browser/Browser.html
| Get Title == Browser
There are shortcuts to open new pages together with new browsers but the offer less control.
The `Open Browser` keyword opens a new browser, a new context and a new page.
This keyword is useful for quick experiments or debugging sessions.
Expand All @@ -137,8 +135,8 @@ class Browser(DynamicCore):
the test. The browser process remains open and will be closed at the end of
execution.
Each Browser, Context and Page has a unique ID with which they can be adressed.
A full catalog of what is open can be recieved by `Get Browser Catalog` as dictionary.
Each Browser, Context and Page has a unique ID with which they can be addressed.
A full catalog of what is open can be received by `Get Browser Catalog` as dictionary.
Expand Down

0 comments on commit c18b302

Please sign in to comment.