I'm writing some tests in selenium webdriver js. I start by typing:
it('blah blah blah', async () => {
await driver
})
Then I type .
after driver
. Suggestions come up. Then I select findElement
from the list.
Then VS Code "intelligently" changes my code to:
await (await driver).findElement
This is annoying, as I have to manually remove the additional parenthesis and await. Any fix for this?