38

I'm using an external library written in Java (Selenium). One of the function calls has the signature type(String, String), and I keep getting compiler errors when trying to call it from Scala, that is:

selenium.type("ab","abc")

Is there a workaround for this issue?

0

1 Answer 1

47
selenium.`type`("ab","abc")
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, just started doing scala and didn't know the use of that little ` symbol.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.