get_curdir
-
Description: Retrieves the current working directory path. The working directory here refers to the directory of the Python file that calls this function. This is typically used as a reference for relative paths.
-
Return Value:
- str: The path of the current working directory.
-
Example:
import capybara as cb
DIR = cb.get_curdir()
print(DIR)
# >>> '/path/to/your/current/directory'