package Ġcom . head issue . screen play Ċ Ċ import Ġcom . head issue . screen play . ability . Browse The Web Ċ import Ġorg . openqa . selenium . WebDriver Ċ Ċ class ĠActor ( val Ġabilities : ĠMutable List < Ability > Ġ= Ġmutable ListOf ()) Ġ{ ĊĊĊĠ Ġvar Ġweb Driver : ĠWebDriver ? Ġ= Ġnull ĊĊĠ Ġfun Ġperform ( perform able : ĠPerform able ) Ġ= Ġperform able . perform As ( this ) ĊĊĠ Ġfun Ġasks ( question : ĠQuestion ): ĠAny Ġ= Ġquestion . answer As ( this ) ĊĠ Ġfun Ġcan ( ability : ĠAbility ) Ġ{ ĊĠĠĠ Ġwhen Ġ( ability ) Ġ{ ĊĠĠĠĠĠ Ġis ĠB rowse The Web Ġ-> Ġweb Driver Ġ= Ġability . web Driver ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ }