Commit 04f9e9f
[rb][BiDi] Add set cache behaviour (#15114)
* Add response handler
* Update auth handlers and improve the :on method
* Request and response working as expected
* Add test for continue without auth and cancel auth
* Finish implementation
* Correct rubocop offenses
* Add alias for user to do network.bidi instead of network.network
* Fix rust file causing formatting error
* Handle requests and responses in block
* Add ability to pass handlers to each different intercepted element
* Headers working
* All tests passing and signatures simplified
* remove unnecessary changes
* remove unnecessary changes
* Added credentials and set cookie header to intercepted response
* Fix rubocop issues
* Make auth handler more user friendly
* Add filtering an url pattern support
* Fix formatting issues
* Modify tests to avoid element related failures on firefox
* Fix styling of comments
* Improve types and hash consistency
* Update all the places that use 9.4.8.0
* Serialize request values
* Refactor cookies, headers and set cookie headers
* Simplify serialization
* Add extra type support
* Improve typing
* transform serialize to as_json
* Simplify cookies and add extra unit tests
* Simplify cookies and add extra unit tests
* add set cache behaviour method for network bidi
---------
Co-authored-by: Puja Jagani <[email protected]>1 parent 3c87e6b commit 04f9e9f
File tree
3 files changed
+23
-0
lines changed- rb
- lib/selenium/webdriver/bidi
- sig/lib/selenium/webdriver/bidi
- spec/integration/selenium/webdriver/bidi
3 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
179 | 196 | | |
180 | 197 | | |
181 | 198 | | |
| |||
0 commit comments