feat: comprehensive browser runtime enhancements and string manipulation functions#12
Open
ferrlindev wants to merge 7 commits into
Open
feat: comprehensive browser runtime enhancements and string manipulation functions#12ferrlindev wants to merge 7 commits into
ferrlindev wants to merge 7 commits into
Conversation
- Add trim functions: trim(), trimStart(), trimEnd() - Add case conversion: toLowerCase(), toUpperCase() - Add string operations: split(), replace() - Add DOM attribute access: attr() function - Fix element function error handling for missing/null elements - Update example scripts to use correct selectors and syntax - Add comprehensive tests for new builtin functions Resolves EvalError(InvalidFnParams) when selectors don't match elements Enables full string manipulation and DOM attribute access in Scout scripts
- Fix lifetime elision warnings by adding explicit '_ lifetimes - Update to_display() and obj_map_to_json() function signatures - Eliminates 'hiding a lifetime that's elided elsewhere' warnings Resolves compiler warnings about confusing lifetime syntax
- Document Firefox and Chrome setup for macOS/Linux/Windows - Include ChromeDriver version compatibility guide - Add troubleshooting section for common issues - Provide CI/CD setup examples - Include testing instructions
d82c442 to
a3de4e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements comprehensive browser runtime enhancements and adds essential string/DOM manipulation functions to the Scout interpreter.
Key Enhancements
String Functions
DOM Functions
Improvements
Files Changed
Testing
All tests pass, including browser integration tests and new string function tests.
See docs/browser-setup.md for detailed browser setup instructions.