java - 我可以在不解析的情况下比较对象和字符串吗
问题描述
Object investorLoanDB = dbData.get("investorLoanNo");
chipAssert.assertEquals(investorLoan.getText(), investorLoanDB);
InvestorLoan 是 WebElement 类型。
解决方案
推荐阅读
- python - Python:使用循环计算列表中值的标准差
- excel - Excel - 引用另一个文件中的值
- dataframe - spark在写入json时截断时间戳
- angular - Angular 发布请求将数据发送到服务器
- angular - 如何从 .ts 文件在 Angular 7 项目中动态添加 StencilJS Web 组件?
- c# - 在 CamelCase 字符串之间添加下划线,除了在 LINQ 中继续大写字母
- web-scraping - 通过嵌套在地图中的地图进行 Web 抓取
- ruby-on-rails - Rails - 调用部分
- machine-learning - 用于可解释机器学习的 Shapley 值和 SHAP 之间的差异
- r - R - 根据两列识别重复,查找值,并删除具有特定值的案例