package com.luv2code.springbootecommerce;
import com.alibaba.fastjson.JSONObject;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.web.client.RestTemplate;
/**
* @Author:sun2y
* @Description:<p></p>
* @Date:2020/9/8 16:35
*/
@RunWith(SpringRunner.class)
@SpringBootTest
@Component
public class fastJsonTest {
static String hubUrl="http://127.0.0.1:4444/wd/hub";
static String sessionApi="/session";
static String deleteSessionApi="/
使用RestTemplate通过JsonWireProtocol进行Selenium自动化
最新推荐文章于 2022-11-14 19:56:37 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)