-
Hello Sir, |
Beta Was this translation helpful? Give feedback.
Answered by mdmintz Oct 6, 2021
Replies: 1 comment
-
| Hello @rjameel, Or if you want to use a variable later, you could store it into self.open(self.data)The custom_settings_file is specifically for modifying SeleniumBase settings. If you still want to have data in a file to be used later, you can use simple Python file I/O to read from that file in a test. https://github.com/seleniumbase/SeleniumBase/tree/master/examples/boilerplates/file_parsing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Hello @rjameel,
For a start page, you could pass that on the command line with:
pytest --url=https://seleniumbase.ioOr if you want to use a variable later, you could store it into
self.data:pytest --data=https://seleniumbase.ioThe custom_settings_file is specifically for modifying SeleniumBase settings. If you still want to have data in a file to be used later, you can use simple Python file I/O to read from that file in a test. https://github.com/seleniumbase/SeleniumBase/tree/master/examples/boilerplates/file_parsing