Using a Java library with Scala reserved words

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?

Answers


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

Need Your Help

HTTP "Content-Disposition: attachment" and downloading files on iOS web browser

iphone ios ipad http http-headers

I want my users to be able to download a PDF file and have the browser treat it as a file, not just display it (i.e. it has a filename, user gets option to save, etc.). The following header seems to