Too many closing brackets in a row. Maybe you can create empty `Mink` object and then do a `registerSession` call with that session. Moving out driver instance to separate variable will help too.