Karate.extract() is not being recognised And header Authorization = 'Bearer '+ tkn1 Then status 200 def htmlresponse = response def extracted = karate.extract(htmlresponse,'code+value=\"([^\"]+)',1)
HTML
<form method="post" action="SomeURL">
<input type="hidden" name="code" value="1234" ng-non-bindable />
<input type="hidden" name="id_token" value="123" ng-non-bindable />
karate.extract(HTMLResponse,'HtmlResponse+value=\"([^\"]+)',1), TypeError: karate.extract is not a function in at line number 1