1.markdown學(xué)習(xí)
二級(jí)標(biāo)題
三級(jí)標(biāo)題
# 代表標(biāo)題
無(wú)序列表
- 企業(yè)微信使用
- tapd下載使用
- xmind使用
- 無(wú)序列表使用 - 表示
有序列表
- 簡(jiǎn)書(shū)注冊(cè)
- 搜狗截圖
- 有序列表 \ 1. 2.
超鏈接
企業(yè)微信
tapd
超鏈接 [文本描述](網(wǎng)址)
截圖
image.png
快捷鍵設(shè)置.png
粗體 斜體
- 斜體
- 粗體
- 粗體+斜體
- *文本內(nèi)容* 斜體通過(guò)1個(gè)星號(hào)表示
- *文本內(nèi)容* 粗體通過(guò)2個(gè)星號(hào)表示
文本內(nèi)容引用
一盞燈栏笆, 一片昏黃; 一簡(jiǎn)書(shū)臊泰, 一杯淡茶蛉加。 守著那一份淡定, 品讀屬于自己的寂寞缸逃。 保持淡定针饥, 才能欣賞到最美麗的風(fēng)景! 保持淡定察滑, 人生從此不再寂寞打厘。
引用符號(hào) >
代碼塊
package com.guoyasoft.autoUI.common;
import java.io.File;
import java.io.IOException;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class BaseUI {
public WebDriver driver;
public String pageTitle;
public String pageUrl;
public BaseUI(){
}
public BaseUI(WebDriver driver){
this.driver=driver;
}
@BeforeClass
public void before(){
//打開(kāi)瀏覽器
// 設(shè)置環(huán)境變量,指定chromedriver的路徑
System.setProperty("webdriver.chrome.driver",
"src/main/resources/selenium/driver_v236_63_65/chromedriver.exe");
// 設(shè)置瀏覽器的參數(shù)
ChromeOptions options = new ChromeOptions();
// 最大化瀏覽器
options.addArguments("--test-type", "--start-maximized");
// options.setBinary("C:/XXXXXXX/chrome.exe");
// 打開(kāi)瀏覽器
driver = new ChromeDriver(options);
driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);
sleep(1000);
}
@Test
@Parameters({"url"})
public void openUrl(String url){
//打開(kāi)URL
driver.get(url);
sleep(1000);
}
@AfterClass
public void after(){
//關(guān)閉瀏覽器
sleep(1000);
driver.quit();
}
}
}
代碼塊 ``` 代碼內(nèi)容```
表格
性別 | 年齡 | 地址 |
---|---|---|
吳令 | 18 | 重慶 |
薛鵬壘 | 18 | 河南 |
表格實(shí)現(xiàn)
|表頭1|表頭2|表頭3|
|:--:|:--|--:| 通過(guò)冒號(hào)位置控制 居中 :--: ,居左:-- ,居右--:
|內(nèi)容1|內(nèi)容2|內(nèi)容3|
轉(zhuǎn)義符
反斜杠\
# 轉(zhuǎn)義 標(biāo)題 #號(hào)
*** 轉(zhuǎn)義 加粗*內(nèi)容 ** 斜體 * 內(nèi)容
> 轉(zhuǎn)義 引用符號(hào) >
``` ``` 轉(zhuǎn)義 代碼塊
\ - 轉(zhuǎn)義 無(wú)序列表
\ 1. 轉(zhuǎn)義 有序列表
波浪~ 反單引號(hào)` 艾特符號(hào)@ 井號(hào)# 美元$ 百分% 尖括號(hào)^ and符號(hào) & * () - = + : ; " " ' ' , . ?