Skip to content

Commit 145383c

Browse files
committed
docs(ferrum): sync docs with smaller floated logo
1 parent 0540509 commit 145383c

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎docs/ferrum/1-introduction.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ sidebar_position: 1
66

77
Ferrum is a high-level API to control Chrome in Ruby.
88

9-
![Ferrum Logo](https://raw.githubusercontent.com/rubycdp/ferrum/main/logo.svg?sanitize=true)
9+
<img align="right"
10+
width="160" height="160"
11+
alt="Ferrum logo"
12+
src="https://raw.githubusercontent.com/rubycdp/ferrum/main/logo.svg?sanitize=true" />
1013

1114
It is Ruby clean and high-level API to Chrome. Runs headless by default, but you
1215
can configure it to run in a headful mode. All you need is Ruby and [Chrome](https://www.google.com/chrome/) or [Chromium](https://www.chromium.org/).
@@ -16,6 +19,8 @@ protocol because Chrome allows you to do so many things that are barely
1619
supported by WebDriver because it should have consistent design with other
1720
browsers.
1821

22+
<br clear="right" />
23+
1924
## Installation
2025

2126
There's no official Chrome or Chromium package for Linux don't install it this

‎docs/ferrum/2-customization.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Ferrum::Browser.new(options)
3232
* `:js_errors` (Boolean) - When true, JavaScript errors get re-raised in Ruby.
3333
* `:pending_connection_errors` (Boolean) - Raise `PendingConnectionsError` when main frame is still waiting
3434
for slow responses and timeout is reached. Default is false.
35-
* `:browser_name` (Symbol) - `:chrome` by default, only experimental support
36-
for `:firefox` for now.
35+
* `:browser_name` (Symbol) - `:chrome` by default, `:opera` and `:edge` are
36+
also supported.
3737
* `:browser_path` (String) - Path to Chrome binary, you can also set ENV
3838
variable as `BROWSER_PATH=some/path/chrome bundle exec rspec`.
3939
* `:browser_options` (Hash) - Additional command line options,

0 commit comments

Comments
 (0)