Add Browserstack API integration and supported browser type
* Created `BrowserstackApi` class for interacting with the Browserstack API, including a method to fetch supported browsers. * Introduced `SupportedBrowser` type to define the structure of browser data returned from the API. * Updated `TestRunner` to instantiate and run the test execution process, enabling command line options logging.
This commit is contained in:
@@ -12,9 +12,11 @@ class TestRunner {
|
||||
private static readonly _commandLineOptions: CommandLineOptions = CommandLine.parse(process.argv);
|
||||
|
||||
public static main(): void {
|
||||
// const testRunner = new TestRunner();
|
||||
// testRunner.run();
|
||||
const testRunner = new TestRunner();
|
||||
testRunner.run();
|
||||
}
|
||||
|
||||
public run(): void {
|
||||
console.log(TestRunner._commandLineOptions);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user