-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TINY-8705: Adding extraBrowserCapabilities flag to bedrock-auto #98
Conversation
PR suggestions Co-authored-by: Lee Newson <lee.newson@tiny.cloud>
0008880
to
849692d
Compare
@@ -67,6 +69,15 @@ const addArguments = (capabilities: Record<string, any>, name: string, args: str | |||
capabilities[name].args = currentArgs.concat(args); | |||
}; | |||
|
|||
const getExtraBrowserCapabilities = (settings: DriverSettings): string[] => { | |||
const extraCaps = settings.extraBrowserCapabilities.trim(); | |||
if (extraCaps.length > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No ternary I'm surprised. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it wasn't commonly used. I don't know what style to use any more. I'm just trying to fit in :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was also surprised by this tbh 😂 I don't think we have a standard much anymore for this 😞
No description provided.