0
Follow
2
View

If it's possible to get something from '(.*)' into a variable?

dafeng2006 注册会员
6 days ago

When you use a cucumber and write some description in a step, you can select the desired word and receive it in the method arguments.

@Then("^ Page is '(.*)' on PDP$")
public void title(String str) {
    String str = '(.*)';  
    ...
}

About the Author

Question Info

Publish Time
6 days ago
Update Time
6 days ago

Related Question

创建16位tiff图像

为什么if语句要反复的判断

React Native中的If语句

Python BeautifulSoup网站从TripAdvisor提取仅景点评论[关闭]

同一个WIFI,手机可以上网,电脑不可以上网

python pillow库保存gif的帧到png没有图片透明部分出现黑色

Swift:重绘PDF时丢失分辨率

JavaScript If else语句不符合[关闭]

如何在Sql Developer中使用datediff

pta WIFI密码 哪个情况没有考虑?