Proto commits in MarketSquare/robotframework-browser

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:654879e
Author:Tatu Aalto
Committer:Tatu Aalto

Feat: Support Playwright Credential Fixes: #4979

Commit:c181a30
Author:Tatu Aalto
Committer:Tatu Aalto

feat!: Wait For Request also return more than uri return dict with url, method, headers and postData as keys Fixes: #4656

Commit:6b5fe6b
Author:Tatu Aalto
Committer:Tatu Aalto

feat: support more PW API for Get Text Support allInnerTexts, allTextContents, innerText, inputValue, innerHTML and the old functionality Fixes: #4763

Commit:52fa63a
Author:Tatu Aalto
Committer:Tatu Aalto

feat(logging): propagate test/suite context to Node.js logs via SetRFContext gRPC Add a new SetRFContext gRPC call so Robot Framework test and suite identifiers are included in every structured log line emitted by the Node.js wrapper. After this change every log line produced while a test is running carries test_id, test_name, suite_id, and suite_name fields, making root-cause analysis in CI significantly easier.

Commit:58b3a3f
Author:Tatu Aalto
Committer:Tatu Aalto

chore: review comment recomendation

Commit:e170adf
Author:Tony Rintala
Committer:Tatu Aalto

fix: stream GetPageSource responses over gRPC (issue #4391)

Commit:4d2e139
Author:Tatu Aalto
Committer:Tatu Aalto

Get Aria SnapShot keyword Fixes #4471

The documentation is generated from this commit.

Commit:e85a9d7
Author:René
Committer:GitHub

added delay to press keys (#4458) * added delay to press keys Signed-off-by: René <snooz@posteo.de> * moved Events testing page to a new page Signed-off-by: René <snooz@posteo.de> --------- Signed-off-by: René <snooz@posteo.de>

Commit:4088d38
Author:Tatu Aalto
Committer:GitHub

Way to build nodejs grpc server binary (#4329) * Way to build nodejs grpc server binary * Use require instead of eval * scafolding for building optional dependency * Starting BrowserBatteries * Build robotframework-browser-batteries * Better start_grpc_server check * start_grpc_server from BroserBatteries * Run BrowserBatteries in CI * Fix pkg command * Include assets from: Browser/wrapper/static * Refactoring * Better naming in CI * Run with BrowserBatteries on Windows and Mac * Run install test with BrowserBatteries * Fix building wheels for testing * Unify CI build wheel code * Fix testing wheel * Fix BrowserBatteries Browser deps version * Clean also browser_batteries folder * first impl Signed-off-by: René <snooz@posteo.de> * Lint fixes * Fix CI build for wheel testing * Build speedup * Make pino lgger level configurable again * Set PLAYWRIGHT_BROWSERS_PATH with fbrowser install-browser Update pgk to add assets playwright-core * Set PLAYWRIGHT_BROWSERS_PATH also when starting grpc_server from BrowserBatteries * fix install test * fix install in Windows * Fix grpc server startup at Windows * Check is grpc_serve created by pkg * Add debug info to _build_nodejs * Add also grpc_server.exe to BrowserBatteries wheel * Use merge_coverage_reports method to combine coverage reports with rfbrowser Fixes #4383 * Build BrowserBatteries wheel in CI * Clean dead code from invoke * More build wheel * Fix BrowserBatteries grpc server binary build After UUID update * Build Browser wheel No Windows ARM BrowserBatteries build Also build test app * Better OS defintion * NodeJS 24 support * Run tests for build wheels * Donload artifacts and publish * Tune osx build machine * Restore on-push.yaml as it is in main * Build and test Browser and BrowserBatteries wheels in CI * Improve combina coverage report keyword testing * Update README installation instructions * Unify reading pw local-browsers * Rename command to install rfbrowser intall-browser is not the way to go * Github Job Summary to build test jobs * Fix when install_browser is not keyword * rfbrowser install better error Raise custom error if rfbrowser install is run when BrowserBatteries is not installed * Stabilise tests * Fix BrowserBatteries README * Stabilise tests by setting scope to timeout * Remove wanr logging * Tune release pipeline --------- Signed-off-by: René <snooz@posteo.de> Co-authored-by: René <snooz@posteo.de>

Commit:2192ecd
Author:Tatu Aalto
Committer:Tatu Aalto

Merge Coverage report with a keywordm Fixes #4002

Commit:863642d
Author:René

first impl Signed-off-by: René <snooz@posteo.de>

Commit:bd1652d
Author:René
Committer:GitHub

added timeout to `Connect To Browser` #3668 (#3930)

Commit:a5f0d7d
Author:René
Committer:GitHub

Improved Converage to use it in real live (#3927) Implemented AutoClosing for Coverage. Also improved the path handling.

Commit:910add4
Author:René
Committer:GitHub

Topic/trace group (#3904) * initial PoC Signed-off-by: René <snooz@posteo.de> * added auto closing and optimized unneeded page calls Signed-off-by: René <snooz@posteo.de> * fixed multiple other things on the way. Issues with Persistent context i.e. Signed-off-by: René <snooz@posteo.de> * more progress Signed-off-by: René <snooz@posteo.de> * fixed async groups Signed-off-by: René <snooz@posteo.de> * fixed test Signed-off-by: René <snooz@posteo.de> * refactored and more Signed-off-by: René <snooz@posteo.de> * fixed Robot not running Signed-off-by: René <snooz@posteo.de> * added more Signed-off-by: René <snooz@posteo.de> * finished tracing Signed-off-by: René <snooz@posteo.de> * finished tracing Signed-off-by: René <snooz@posteo.de> * finished tracing Signed-off-by: René <snooz@posteo.de> --------- Signed-off-by: René <snooz@posteo.de>

Commit:b5ac7df
Author:Tatu Aalto
Committer:GitHub

Coverage with monocart-coverage-reports (#3887) * Initial coverage skeleton * Add possibility to provide folder prefix for coverage Also move some logic to Node side for creating coverage folder * Better testing * Support coverage reportAnonymousScripts and resetOnNavigation * rfbrowser coverage entry point * Test error condition for command line * Fix npx launch command error * Improved docs * debug info for windows * Fix docs * Different otder of commands * Try in Windowsn without command * Lint fixes * Command is needed * Debug try * No windows support * Debug info * Remove debug * Give valid command * Enabled test in windows * Disable Windows check * Try custom.js * Use jswarpper from correct folder * Cleanup * Add copyright to js wrapper * Update monocart-coverage-reports * Some command line tool instead of the js wrapper * Missing deps * Improve testing for ceverage * missing config files * Move stop coverage params to start coverage For automatic stop coverage * Add possibility to enabled raw reporting * Lint fixes * Add more options to create reports

Commit:3188665
Author:Tatu Aalto
Committer:GitHub

Add timeout and waitUntill args to reload keyword (#3878) * Add timeout and waitUntill args to reload keyword Fixes #3394

Commit:118d857
Author:Tatu Aalto
Committer:GitHub

Support bigger json responses (#3875) * Support bigger json responses Fixes #1815

Commit:98b5710
Author:Tatu Aalto
Committer:GitHub

Pw clock (#3865) * Proto definition * Set time keyword * Lint fixes * Better testing for Set Time * Fix stub generation * Set time multiple times * Add clock.install API call * Better logging in test lib * Windows fix for delta_time_is_less_than test lib * Clock resume * Implement Clock Pause At keyword * Fix logging * Clock Advance with runFor and fastForward support * Fix test

Commit:9c0e718
Author:Tatu Aalto
Committer:GitHub

Add locator handler keywords (#3847) * Add locator handler keywords * Support more options for click method in locator handler * Stub implemention for locator handers in node side * Both x abd y postion must be given * Implement addLocatorHandler and removeLocatorHandler in Node side * Better error handling on error * Fix html and test * Removing locator handler should work * More testing * Add missing optoins to click * Simplify test setup * Improve docs and provide example for creating custom handler * Fixing docs and provising example * Rename keyword * Add custom locator hadler * Simple click with custom locator handler * Click with all args * Handle all actions * Also test errors conditions * Fixing docs * Removed not needed code

Commit:6bc7fc2
Author:Tatu Aalto
Committer:Tatu Aalto

Upload file as buffer

Commit:3e7f1f8
Author:Tatu Aalto
Committer:Tatu Aalto

Support multiple files for upload_file_by_selector

Commit:e96ff60
Author:Tatu Aalto
Committer:Tatu Aalto

Support for large files with Buffer

Commit:851b859
Author:René
Committer:GitHub

implemented Playwrights Highlighting (#3828) Signed-off-by: René <snooz@posteo.de>

Commit:8fb0a74
Author:Tatu Aalto
Committer:Tatu Aalto

Use same code with wait_for_alert

Commit:c6b5a33
Author:Tatu Aalto
Committer:Tatu Aalto

Handle multiple alerts with one promise Fixes #3785

Commit:f3365e9
Author:Tatu Aalto
Committer:Tatu Aalto

emulateMedia with all parameters set

Commit:ad03680
Author:Tatu Aalto
Committer:Tatu Aalto

Media type initial idea

Commit:e783183
Author:Tatu Aalto
Committer:Tatu Aalto

Initial pdf structure

Commit:1cec191
Author:Tatu Aalto
Committer:Tatu Aalto

Implementation of Playwright pdf() Fixes #3481

Commit:8aef9cb
Author:Tatu Aalto
Committer:Tatu Aalto

Remove code duplication

Commit:77feed2
Author:Tatu Aalto
Committer:Tatu Aalto

Add Wait for Load State keyword Fixes #3327

Commit:ecf2655
Author:René
Committer:GitHub

added keywords and entry to launch browser server (#3263) * added keywords and entry to launch browser server Signed-off-by: René <snooz@posteo.de> * added keywords and entry to launch browser server Signed-off-by: René <snooz@posteo.de> * added keywords and entry to launch browser server Signed-off-by: René <snooz@posteo.de> * implemented Conntect To Browser over CDP Signed-off-by: René <snooz@posteo.de> * clean up after timeout Signed-off-by: René <snooz@posteo.de> --------- Signed-off-by: René <snooz@posteo.de>

Commit:4a2ef06
Author:René
Committer:GitHub

added_timeout_to_Wait_For_Alert (#3245) Signed-off-by: René <snooz@posteo.de>

Commit:7ba5026
Author:René
Committer:GitHub

added wait_unit to Go To and New Page (#3232) Signed-off-by: René <snooz@posteo.de>

Commit:6cd5410
Author:René
Committer:GitHub

added Timeout to Download and possibility to have multiple downloads … (#3228) * added Timeout to Download and possibility to have multiple downloads at the same time

Commit:d65f7ee
Author:René
Committer:GitHub

added HTTP status code to Go To keyword (#3222) Signed-off-by: René <snooz@posteo.de>

Commit:97d4c37
Author:René
Committer:GitHub

added frame support to Get By Role keywords (#3221) Signed-off-by: René <snooz@posteo.de>

Commit:38f9c1c
Author:René
Committer:GitHub

added saveAs to download keyword (#3215) and improved the behaviour

Commit:51f70e3
Author:Tatu Aalto
Committer:Tatu Aalto

Add runBeforeUnload option for close page Fixes #3054

Commit:b145a86
Author:René

fixed [Comments >>] #2945, deprecated Tab for Tap

Commit:7f96958
Author:René
Committer:GitHub

fixed eslint issues and removed __RFBROWSER__ and hideRfBrowser (#2944) Signed-off-by: René <snooz@posteo.de>

Commit:881e26c
Author:René
Committer:GitHub

Topic/get by x selectors (#2920) * first implementation of get By Role * first implementation of the other Get By Keywords * roles need to be lower * added RegExp support to Get By X keywords * added RegExp type converters to Get By X keywords * added all_elements argument * added Get Element By keyword * remove specific Get By keywords * simplified Get Elements * added some tests * added some tests * added last tests * removed no timeout

Commit:3beed2f
Author:René
Committer:GitHub

Removed ExecJS code internally for Session/Local Storage keywords (#2924) * Removed ExecJS code internally for Session/Local Storage keywords

Commit:ebb9de7
Author:Tatu Aalto
Committer:Tatu Aalto

Enhance Highlight Elements Return number of highlighted elements and improve keyword docs Fixes #2335

Commit:efa98e8
Author:Tatu Aalto
Committer:Tatu Aalto

Add Tab keyword Fixes #2301

Commit:1ff1da4
Author:René
Committer:GitHub

initial implementation of Get Console Log and Get Page Errors (implements #2176) (#2627)

Commit:fd474f9
Author:René
Committer:GitHub

Get Style with Pseudo Elements (#2613) Fixes: #2564 Get Style is now able to return any style property, not only those included in the dictionary. Also Pseudo Elements are supported. Also added: - Added Scope to Show Keyword Banner Also fixed: - Fixed Logging issue with Type/Fill Secret - Fixed Docs of Scope - Fixed 'none' string issue with Assertions

Commit:cfc4942
Author:Johan van Iperen
Committer:Tatu Aalto

add mouse wheel keyword

Commit:4818d6b
Author:René
Committer:GitHub

Topic/fixes & removed deprecations (#2524) fixes: #2513 #2214 #2215 #2522 #2523 #2530 - [x] fixed __init__.pyi file - [x] removed deprecated Keywords `Get Element State` & `Execute Javascript` - [x] fixed #2522 that clean_up of screenshots etc happens only once per robot run. - [x] fixed #2513 list getters always shall return lists - [x] removed support for direct values of `Fill Secret`, `Type Secret` and `httpCredentials` argument from `New Context` #2523 - [x] fixed New Context with recordVideo without size does not default to viewport. #2530 - [x] removed `videoSize` and `videoPath` arguments from `New Context` and `New Persistent Context` - [x] fixed #2214 recordVideo with New Persistent Context - [x] fixed #2215 New Persistent Context did not return Video Path

Commit:1a57359
Author:René
Committer:GitHub

Improve Speed of Select Option setter and getter #2077 (#2078) * Fixes #2077 Refactored Options Selection keywords under the hood to improve the speed massively. * Fixes #2049 Documentation and added some tests for Click Modifiers * Fixed #2076 Strict Mode Exception on Table Keywords

Commit:5d8a0d1
Author:Kerkko Pelttari
Committer:GitHub

New Persistent Context implementation (#2036) * Initial implementation of persistentcontext support (still partially broken) * Working initial persistent state * Fix inline IF unnecessary ENDs * Add more documentation for using New Persistent Context to load an extension

Commit:9518ccd
Author:Kerkko Pelttari

Revert "Initial implementation of persistentcontext support (still partially broken)" This reverts commit 7f06a21e48df3644df73bf68d6bf342e7525d47f.

Commit:7f06a21
Author:Kerkko Pelttari

Initial implementation of persistentcontext support (still partially broken)

Commit:d0a5e87
Author:René
Committer:GitHub

Added Playwright 1.20 features to `Take Screenshot` (#1921) adding masking adding omitBackground adding disableAnimations adding crop

Commit:bea7314
Author:Tatu Aalto
Committer:Tatu Aalto

Force argument for Fill Text/Secret keyword

Commit:17ee40d
Author:Tatu Aalto
Committer:Tatu Aalto

Force argument for Check Checkbox keyword

Commit:8525a15
Author:René
Committer:GitHub

New `Evaluate JavaScript` Keyword (#1854) Example ```robotframework Evaluate Multiline JavaScript ${texts}= Evaluate JavaScript button ... (elements, arg) => { ... let text = [] ... for (e of elements) { ... console.log(e.innerText) ... text.push(e.innerText) ... } ... text.push(arg) ... return text ... } ... all_elements=True ... arg=${{[1,2,3]}} Length Should Be ${texts} 12 Should Be Equal ${texts}[-1] ${{[1,2,3]}} ```

Commit:110a793
Author:René
Committer:GitHub

added Scroll To Element (#1850) * added `Scroll To Element` * added Tests and switchet to dotdict Signed-off-by: René <snooz@posteo.de>

Commit:df7d22c
Author:René
Committer:GitHub

Added Table Keywords (#1843) Added Three Table Handling Keywords Signed-off-by: René <snooz@posteo.de>

Commit:01db520
Author:Mikko Korpela
Committer:GitHub

Get parameter names (#1834) js extension parameter names

Commit:0e42d21
Author:René
Committer:GitHub

fixed Select Options By (#1809) - `Select Options By` uses same method to return selected options as `Get Selected Options` - functional change is, that selection by index returns now a list of int instead list of str as before.

Commit:9469ccb
Author:René
Committer:GitHub

implemented new keyword `Get Element States` (#1593) - Added new `Get Element States` Keyword. - Deprecated `Get Element State` Keyword - `Get Element State` uses internally already `Get Element States` - Increased some timeouts to fix flaky tests - excluded `__init__.pyi` from MyPy analytics. Due to a Bug with IntFlags - Fixed assertion retries on many Keywords.

Commit:8351ad0
Author:Mikko Korpela
Committer:GitHub

Grant permissions (#1679) * GrantPermissions initial implementation * Permissions as expected * Implement Clear Permissions

Commit:edb9da7
Author:Tatu Aalto
Committer:Tatu Aalto

Select Options By keyword should return options which was selected Fixes #1594

Commit:f121874
Author:Mikko Korpela
Committer:GitHub

JS side keyword docs (#1565) * JS side keyword docs * mypy complaint on gh actions * typing * tsc to lint

Commit:ea1980c
Author:Kerkko Pelttari
Committer:GitHub

Upload File By Selector keyword (#1499) * Start adding keyword for uploading files synchronously directly to file selector element * Add test for synchronous upload by selector KW * Update docs for Upload File By Selector * Give file upload tests longer timeout on windows * Let Synchronous Upload Test Timeout be longer * Change Upload Synchronously test to use 5MB file instead of 74MB file to save test time

Commit:ca9f5d2
Author:Tatu Aalto
Committer:Tatu Aalto

Remove PoC Tidii keywords

Commit:415caae
Author:Tatu Aalto
Committer:Tatu Aalto

New node wrapper findLocator

Commit:06d4e7a
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Take screenshot keyword

Commit:8db7cbd
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Press Keys keyword

Commit:3491de6
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Clear Text keyword

Commit:239b4f2
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Type Secret keyword

Commit:6a5dd7f
Author:Tatu Aalto
Committer:Tatu Aalto

Clean dead code

Commit:afcd491
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Select Options By keyword

Commit:82521e1
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Execute JavaScript keyword

Commit:77a5c0d
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Highlight Elements keyword But strict mode is not enabled by default

Commit:bca9338
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Get Element State on WaitForFunctionOptions

Commit:cf25600
Author:Tatu Aalto
Committer:Tatu Aalto

Strict mode for Click keyword

Commit:7233dc3
Author:Tatu Aalto
Committer:Tatu Aalto

Add strict mode for Get Property keyword

Commit:66875f7
Author:Tatu Aalto
Committer:Tatu Aalto

Initial preparation for strict mode in Get Text kw

Commit:4a3ece7
Author:Mikko Korpela
Committer:GitHub

Topic/record selector improvements (#1258) * selector label on header * frame piercing * remove console.log * prevent focus on the controller elem items * movable * selector recorder and csp * scroll position * fix tests * iframe x N piercing .. in princible * Remove selecotr * attach frame selector script to all frames * subframe selector recorder. * show recorded selector from frame * recording reset * frameIndex * show all recordings * shadowRoot piercing selector * selectors yeah * one shall pass shadows * initial UI * fix test and force headfull mode when record selector in use * lint * close headfull browser at the end of suite * close headfull browser at the end of suite * refactoring ts side a bit

Commit:cc18e1b
Author:Kerkko Pelttari
Committer:GitHub

Properly implement `Browser.Browser().playwright.port` and add test. Add Browser().set_peer_id method (#1109) * Add simple implementation of playwrightstate switching `Browser().playwright.select_playwright_state()` * Disable playwright.py overriding value of env var 'PLAYWRIGHT_BROWSERS_PATH' even when it has been separately set by user * Commit work-in-progress test * Attempt at writing a test for Select Playwright State * Slight progress in playwright_state_selecting * revert test_playwright_state_selecting to version without subprocess hacks * Reduce unnecessary changes * Clean up unnecessary test util for playwright_state test * Change test_playwright_state_selecting.py to test_shared_playwright_port.py * Properly use library argument node_process_port * lint * PR cleanup * Working unit test and 2 non-working skipped unit tests for peer id switching * Document set_peer_id method and remove keyword decorator

Commit:c818ac5
Author:Tatu Aalto
Committer:Tatu Aalto

Save storage state to file

Commit:fe5f7be
Author:Tatu Aalto
Committer:Tatu Aalto

Simplify how passing parameters when creating new context

Commit:8181377
Author:Tatu Aalto
Committer:Tatu Aalto

Trace file created by single argument

Commit:50569e1
Author:Tatu Aalto
Committer:Tatu Aalto

Add tracing options in new context

Commit:d5aff84
Author:Mikko Korpela
Committer:GitHub

finder based css selector creation (#882) * finder based css selector creation * css selector finding to own file * css selector finding to own file with highlight * update yarn.lock * rebuilt also when js file change * deps updated * udpate pw * no package-lock * record selector keyword

Commit:fb8cd47
Author:Tatu Aalto
Committer:Tatu Aalto

Add support to verify and get alert text Fixes #440

Commit:d2e35f5
Author:Tatu Aalto
Committer:Tatu Aalto

If context is created but browser does not exist, show log message to user

Commit:ea94ab9
Author:Vincenzo Gasparo
Committer:GitHub

Added regex and wait_until args to wait_for_navigation (#917) * Added regex and wait_until args to wait_for_navigation * Removed regex arg, try full match and regex * removed promise.any, check if url is a regex Co-authored-by: Vincenzo Gasparo <vincenzo.gasparo@facile.it> Co-authored-by: Mikko Korpela <mikko.korpela@gmail.com>

Commit:3869fa0
Author:Vincenzo Gasparo
Committer:GitHub

Take screenshot arguments (#892) * added type, quality and timeout arguments * lint-python changes * lint-python changes Co-authored-by: Vincenzo Gasparo <vincenzo.gasparo@facile.it>

Commit:09c53aa
Author:Mikko Korpela
Committer:GitHub

Topic/page listeners (#747) * add page errors and console messages to indexedPage * page report response * use listener API 3 * linting * Closing non existing specific page causes an error * error logging * errors * close page to return page output and errors * error reporting: protective code * add page id * close page tests * report page id also

Commit:37e24a9
Author:Mikko Korpela
Committer:GitHub

Topic/get text handle input and textarea (#778) * get_text handling input and textarea * fix test * textarea test and getter deprecation * fix progressbar position * get text: all input elements point to value

Commit:4455123
Author:Mikko Korpela
Committer:GitHub

waitForNavigation (#756)

Commit:555ec9c
Author:Tatu Aalto
Committer:Tatu Aalto

Download keyword should also return suggested file name

Commit:8fcf969
Author:Mikko Korpela
Committer:Mikko Korpela

Js extension: logging and playwright module as param

Commit:eca3e30
Author:Mikko Korpela
Committer:Mikko Korpela

connect to browser

Commit:08bc3bf
Author:Mikko Korpela
Committer:Mikko Korpela

extension keyword call

Commit:64c9fcf
Author:Mikko Korpela
Committer:Mikko Korpela

Not working: WIP module import

Commit:1724b16
Author:Tatu Aalto
Committer:Tatu Aalto

Add video options