dvla-browser-drivers 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ded8210272d81162b05c9b4fd5f6f47fb6dd17f7c668b3d2415435499b3326ed
4
- data.tar.gz: 3b642d367f46e22fc3b05dd9480a47c811608f08aa0d8f9bc2cb1b06b5a46d70
3
+ metadata.gz: d0cca2d4b8a325d4dfb87fdfc8a9d72e2f5e2b20a061b57adee8b48ae1aec25e
4
+ data.tar.gz: a2db84a8fe4ed13e71506f5e8b43ddd71042374ce4cd9d0457f8ecb7035f365b
5
5
  SHA512:
6
- metadata.gz: b0fdb8305b590e7523605a25d90bfa66ecea8653da35dcc43c52a75788c92707a4fff47480686cdb98783e811852ff736833eb0d95b07ed6a1f5d818cb34a15d
7
- data.tar.gz: bb18727288978ce41b9ea0ba0a084e143bb13e8499febeb87893701f7d29bf16ae398e71331081ffd6b911fb20356fc1a2c0f5d8dfae0e454f3e5eb49eec4359
6
+ metadata.gz: 92be8a16275191b563394377d5e9b9bf0d89c87102e5a329409bd0df8009b2603b79f5579a2959c8526e837e3d4e61c44077939b1f7e1c79943b9ebfaf6855cd
7
+ data.tar.gz: e7e3f5c39e4efb722464df1d0cd922679f9852e04ba4dc10864c603ec74ce8a8555127bb9cd5eafeaedf90d22d6924679f57985b701f7e1214aeef315859b21a
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # DVLA::Browser::Drivers
2
2
 
3
3
  DVLA-Browser-Drivers is a gem that has pre-configured browser drivers that you can use out-of-the-box for the
4
- development of your application.
4
+ development of your application.
5
5
 
6
6
  ## Installation
7
7
 
8
+ Add this line to your application's Gemfile:
9
+
8
10
  ```ruby
9
- source 'https://gemstash.tooling.dvla.gov.uk/private' do
10
- gem 'dvla-browser-drivers'
11
- end
11
+ gem 'dvla-browser-drivers'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -17,7 +17,7 @@ And then execute:
17
17
 
18
18
  Or install it yourself as:
19
19
 
20
- $ gem install dvla-browser-drivers -s https://gemstash.tooling.dvla.gov.uk/private
20
+ $ gem install dvla-browser-drivers
21
21
 
22
22
  ## Usage
23
23
 
@@ -26,7 +26,7 @@ Once installed, you are able to use any pre-configured browser driver from the l
26
26
  ### Selenium drivers
27
27
 
28
28
  | Driver | Usage |
29
- |------------------|-------------------------------------------|
29
+ | ---------------- | ----------------------------------------- |
30
30
  | chrome | `DVLA::Browser::Drivers.chrome` |
31
31
  | headless_chrome | `DVLA::Browser::Drivers.headless_chrome` |
32
32
  | edge | `DVLA::Browser::Drivers.edge` |
@@ -37,7 +37,7 @@ Once installed, you are able to use any pre-configured browser driver from the l
37
37
  ### Non-selenium drivers
38
38
 
39
39
  | Driver | Usage |
40
- |---------------------|----------------------------------------------|
40
+ | ------------------- | -------------------------------------------- |
41
41
  | cuprite | `DVLA::Browser::Drivers.cuprite` |
42
42
  | headless_cuprite | `DVLA::Browser::Drivers.headless_cuprite` |
43
43
  | apparition | `DVLA::Browser::Drivers.apparition` |
@@ -48,9 +48,9 @@ Once installed, you are able to use any pre-configured browser driver from the l
48
48
  ### Default configuration
49
49
 
50
50
  | Driver | Configuration |
51
- |-----------------------|-------------------------------------------------------|
51
+ | --------------------- | ----------------------------------------------------- |
52
52
  | chrome, edge, firefox | --disable-dev-shm-usage<br/> |
53
- | headless_<driver> | --headless<br/>--no-sandbox |
53
+ | headless\_<driver> | --headless<br/>--no-sandbox |
54
54
  | cuprite, apparition | { 'no-sandbox': nil, disable-smooth-scrolling: true } |
55
55
 
56
56
  ---
@@ -58,7 +58,7 @@ Once installed, you are able to use any pre-configured browser driver from the l
58
58
  ### Additional configuration
59
59
 
60
60
  | Option | Description | supported-browsers |
61
- |-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|
61
+ | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
62
62
  | remote: 'http://localhost:4444/wd/hub' | Allows you to talk to a remote browser | firefox |
63
63
  | additional_options: ['window-size=1400,1920'] | Pass additional options to the driver<br/>Supported switches: https://peter.sh/experiments/chromium-command-line-switches/ | chrome, edge, firefox |
64
64
  | additional_preferences: [{'download.default_directory': '<download_path>'}] | Pass additional preferences to the driver<br/>Documentation: https://www.selenium.dev/selenium/docs/api/rb/Selenium/WebDriver/Chromium/Options.html#add_preference-instance_method | chrome, edge, firefox |
@@ -72,11 +72,3 @@ also run `bin/console` for an interactive prompt that will allow you to experime
72
72
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the
73
73
  version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version,
74
74
  push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
75
-
76
- ## Contributing
77
-
78
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dvla-browser-drivers.
79
-
80
- ## License
81
-
82
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -3,7 +3,7 @@
3
3
  module DVLA
4
4
  module Browser
5
5
  module Drivers
6
- VERSION = '2.1.1'
6
+ VERSION = '2.1.2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvla-browser-drivers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Driver and Vehicle Licensing Agency (DVLA)
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-03-26 00:00:00.000000000 Z
12
+ date: 2024-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: apparition